Add Jest Snapshot Testing for Frontend Components
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.
Hello @its-me-abhishek , I interested in completing this task. I am familiar with jest unit test and render test already. I would love to develop snapshot testing skill with this task. This task will be completed in around a week. Does it sound good to you ?
sure! have assigned this to you!