Repository navigation
test(Tasks): cover add task submission flow - #478
RohitSutar1823 wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Thank you for opening this PR! Before a maintainer takes a look, it would be really helpful if you could walk through your changes using GitHub's review tools. Please take a moment to:
More information on how to conduct a self review: This helps make the review process smoother and gives us a clearer understanding of your thought process. Once you've added your self-review, we'll continue from our side. Thank you! |
|
Self-review completed. These tests cover the Add Task submission flow:
No production code was changed. |
|
Hi @its-me-abhishek , I have completed the self-review and all 5 checks are passing with no merge conflicts. Could you please review and merge PR #478 when you get a chance? Thanks! |
Description
Adds integration coverage for the remaining Add Task Submission item in #433. The tests verify that the
Taskscomponent forwards form data to the backend, resets and closes the dialog after successful submission, and preserves the draft when the backend rejects the request.Checklist
npx prettier --write .(via the pre-commit hook)gofmt -w .(not applicable; frontend-only change)Additional Notes
Focused validation:
npm test -- --runInBand src/components/HomeComponents/Tasks/__tests__/Tasks.test.tsx— 103 tests passed. The frontend build also passed.