Skip to content

test(Tasks): Add Recur, Priority, and Reports toggle tests#436

Closed
ShivaGupta-14 wants to merge 1 commit intoCCExtractor:mainfrom
ShivaGupta-14:test/300-tasks-recur-priority-reports
Closed

test(Tasks): Add Recur, Priority, and Reports toggle tests#436
ShivaGupta-14 wants to merge 1 commit intoCCExtractor:mainfrom
ShivaGupta-14:test/300-tasks-recur-priority-reports

Conversation

@ShivaGupta-14
Copy link
Contributor

Description

Checklist

  • Ran npx prettier --write . (for formatting)
  • Ran gofmt -w . (for Go backend)
  • Ran npm test (for JS/TS testing)
  • Added unit tests, if applicable
  • Verified all tests pass
  • Updated documentation, if needed

Additional Notes

Before:

Screenshot 2026-01-22 at 1 33 20 AM

After:

Screenshot 2026-01-24 at 5 52 43 PM

@github-actions
Copy link

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:

  • Check the "Files changed" tab
  • Leave comments on any lines for functions, comments, etc. that are important, non-obvious, or may need attention
  • Clarify decisions you made or areas you might be unsure about and/or any future updates being considered.
  • Finally, submit all the comments!

More information on how to conduct a self review:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request

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!

- Add feature-specific tests for editing flows
- Move data-testid from SelectTrigger to Select for testability
- Update Select mock to support dynamic test-ids
- Add ResizeObserver mock
@ShivaGupta-14 ShivaGupta-14 force-pushed the test/300-tasks-recur-priority-reports branch from 63ea37c to e78b544 Compare January 24, 2026 13:06
Copy link
Collaborator

@its-me-abhishek its-me-abhishek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moreover I'd suggest creating separate PRs for Recur, Priority, Reports toggle. And so on. Most tests new or old end up being flaky so we need a better way to sort these out.

Better yet just create a new file for those tests if they are new, for ex:
Tasks.editing.test.tsx
Tasks.priority.test.tsx and similar.

Else if the suite already exists, and need to update anything, do so in the same file. Will break this down later

@its-me-abhishek
Copy link
Collaborator

Moreover got conflicts due to recent merge, needs to be fixed

@ShivaGupta-14 ShivaGupta-14 deleted the test/300-tasks-recur-priority-reports branch February 7, 2026 07:40
@ShivaGupta-14
Copy link
Contributor Author

this PR was closed due to a branch rename as the scope was narrowed from recur, priority, reports to priority only (as per review feedback to split into separate PRs)

continued in #461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants