Skip to content

Add Jest Snapshot Testing for Frontend Components #163

@its-me-abhishek

Description

@its-me-abhishek

Is your feature request related to a problem? Please describe.
There is currently no automated way to detect unintended changes in the UI. Even small updates can unintentionally break components, but we have no regression testing in place.

Describe the solution you'd like
Add Jest snapshot tests for key React components (task list, task item, buttons, modals). This will allow detecting visual changes automatically when running tests.

Describe alternatives you've considered

  • Manual visual QA: time-consuming and error-prone.
  • Full end-to-end visual regression (more setup-heavy).

Additional context
Focus on core components first, then expand to secondary UI parts. Use @testing-library/react with Jest.

Metadata

Metadata

Labels

enhancementNew feature or requestfrontendSomething isn't working on the frontendgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions