You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracking Issue: Tasks Component Test Improvements #433
This is a tracking issue to organize the work for adding comprehensive tests to the Tasks component in smaller, reviewable PRs. Breaking down the original PR.
Following up on the Recur tests (#479), I've also implemented unit test coverage for the Annotation Editing checklist item in Tasks and opened a PR: #480 .
The test suite covers:
Adding annotations: Verifies that entering an annotation and pressing Enter correctly adds it and persists it to the backend via handleSaveAnnotations / editTaskOnBackend.
Removing annotations: Ensures that clicking the inline removal button (✖) removes the annotation from editedAnnotations before saving.
Input validation: Verifies that empty or whitespace-only inputs are ignored and do not create empty annotation badges.
Cancel functionality: Ensures that clicking Cancel dismisses the editor without triggering unnecessary API calls.
All 4 test cases are passing locally, and the complete Tasks test suite passes with 10 tests across 3 test files.
Happy to address any reviews and feedback. Thanks!
Activity
its-me-abhishek commentedon Jan 24, 2026
Do change this to separate checklist for each component for which tests are yet to be added or updated. And the reorg tasks as well
adiprathapa commentedon Mar 19, 2026
Added Reports Toggle tests, opening a PR now
test(Tasks): add Reports Toggle tests
test(Tasks): add Reports Toggle tests (#467)
Aspirant200715 commentedon Nov 12, 2026
Hi @its-me-abhishek,
I've implemented unit test coverage for the Recur Editing checklist item in
Tasksand opened a focused PR: #479.The test suite covers:
weekly,monthly, etc.) are correctly persisted througheditTaskOnBackend.none: Ensures that selectingnonetriggers the guard logic and prevents unnecessary API requests.All tests are passing locally, and no production code has been modified.
Happy to address any feedback. Thanks!
Aspirant200715 commentedon Nov 12, 2026
Hi @its-me-abhishek,
Following up on the Recur tests (#479), I've also implemented unit test coverage for the Annotation Editing checklist item in
Tasksand opened a PR: #480 .The test suite covers:
handleSaveAnnotations/editTaskOnBackend.✖) removes the annotation fromeditedAnnotationsbefore saving.All 4 test cases are passing locally, and the complete Tasks test suite passes with 10 tests across 3 test files.
Happy to address any reviews and feedback. Thanks!