mengw15 opened a new issue, #6751:
URL: https://github.com/apache/texera/issues/6751

   ### Task Summary
   
   `FiltersComponent` sits at codecov ~70% (59 uncovered lines) — its 
filter-list building and selection-update logic is largely untested. Extend the 
spec. jsdom/Vitest; see `frontend/TESTING.md`.
   
   ### Behavior to add
   
   **FiltersComponent** 
(`frontend/src/app/dashboard/component/user/filters/filters.component.ts`, 
codecov ~70% — EXTEND)
   
   - Search-parameter assembly: `getSearchKeywords` / 
`getSearchFilterParameters` / `searchParameterBackendSetup` — assert the 
parameters built from the selected owners/projects/operators/ids and 
ctime/mtime ranges.
   - Master-filter list: `buildMasterFilterList` / `setMasterFilterList` / 
`updateMasterFilterList` / `removeInvalidFilterTag` — assert the tag list built 
and that an invalid tag is dropped.
   - Selection updates: `updateSelectedOwners` / `updateSelectedProjects` / 
`updateSelectedOperators` / `updateSelectedIDs` / `updateDropdownMenus` / 
`setDropdownSelectionsToUnchecked` — assert the selection state and dropdown 
menu after each.
   - `checkIfWorkflowName` — the predicate for a workflow-name filter tag.
   
   Note on `getFormattedDateString`: assert it through 
`getSearchFilterParameters` with a fixed epoch, and do NOT hard-code a 
timezone-dependent rendered day (a `DatePipe`/locale string renders a different 
day under a UTC CI runner) — assert the format/structure or a TZ-stable 
substring.
   
   ### Task Type
   
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [x] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to