debian-image-builder-frontend/src/test
Michal Gold 265ba2ac78 Wizard: Add password validation in User step
This commit adds password validation to the User step:
- Moved password validation logic to a separate `checkPasswordValidity` function, returning detailed results (strength and validation state).
- Simplified validation in `PasswordValidatedInput` by using `checkPasswordValidity` results directly.
- Added dynamic password strength indicator showing success or error based on requirements.
- Integrated environment-specific validation messages (e.g., for Azure).
- Improved code separation between presentation and validation for better maintainability.
- Unit tests: Adds tests for invalid passwords, covering both default and Azure cases.
2025-03-20 13:28:46 +01:00
..
Components Wizard: Add password validation in User step 2025-03-20 13:28:46 +01:00
fixtures Wizard: Sort only selected on the frontend side 2025-03-13 16:18:41 +01:00
mocks test/CreateImageWizard: test hostname step on cockpit 2025-02-07 09:30:03 +01:00
.eslintrc Migrate from Jest to Vitest 2024-07-16 16:55:31 +02:00
cockpit-tests.sh test/CreateImageWizard: test hostname step on cockpit 2025-02-07 09:30:03 +01:00
README.md Add README with info around testing 2020-11-03 15:31:40 +01:00
setup.ts src: Remove timezone and locale unleash flags 2025-03-04 10:04:26 +01:00
testUtils.js test/testUtils: support rendering with cockpit 2025-02-06 10:55:45 +01:00

Testing information

Code coverage

Code coverage is recorded in codecov.io. This information comes only from unit tests and for the time being we're not concerned with collecting coverage information from integration tests.

It must be over 85% as required by Insights QE!