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

   ### Task Summary
   
   
`frontend/src/app/dashboard/component/user/user-project/user-project-section/ngbd-modal-add-project-workflow/ngbd-modal-add-project-workflow.component.ts`
 (codecov ~7%, no spec) — Vitest spec (TestBed + `detectChanges()`), mocking 
`UserProjectService`. See `frontend/TESTING.md`.
   
   ### Behavior to cover
   
   - `should create`; `detectChanges()` renders
   - `isAllChecked()` -> true iff every entry in `checkedWorkflows` is true
   - `changeAll()` -> when all checked, clears all; otherwise checks all
   - `submitForm()` -> for each checked workflow, calls 
`userProjectService.addWorkflowToProject(projectId, wid)` (via `forkJoin`); 
pushes to the `addedWorkflows` cache
   
   ### 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