Test/pages unit vitest bvandana
This merge request is a work in progress for adding Vitest-based unit testing to the frontend application. The aim is to improve UI stability, reduce regression risks, and make frontend changes easier to verify during development.
As part of this work, Vitest is being configured for the project, along with the required testing libraries and setup files. Basic unit tests are being written for key user-facing pages to ensure they render correctly and display essential UI elements.
The following frontend pages are being covered:
- Login Page
- Dashboard Page
- Public Queue Page
- Volunteer Register Page
Reusable test utilities are being created to support routing during tests, and TypeScript configuration issues related to testing are being addressed. All tests are being run locally to ensure they work without backend dependency.
This merge request will be updated until all requirements of the related issue are fully completed and ready for final review.