Original Issue Body
Description
Currently, jest and playwright tests are not running in CI.
Task
- Modify
pr-quality-standalone.yml (or create ci.yml).
- Add a step to run unit tests:
pnpm test.
- Add a step to run E2E tests if applicable.
- Ensure
deploy.yml requires the test job to pass before executing deployment.
Auto-generated via RepoAuditor CI Health Analysis.
Original Issue
Title: ci: enable automated unit and E2E testing in workflows
Body:
Description
Currently, jest and playwright tests are not running in CI.
Task
- Modify
pr-quality-standalone.yml (or create ci.yml).
- Add a step to run unit tests:
pnpm test.
- Add a step to run E2E tests if applicable.
- Ensure
deploy.yml requires the test job to pass before executing deployment.
Auto-generated via RepoAuditor CI Health Analysis.
Refined Description
Automated testing is a critical component of our CI/CD pipeline, ensuring code quality and preventing regressions. Currently, our continuous integration workflows are not executing jest for unit tests and playwright for end-to-end (E2E) and visual regression tests.
Proposed Changes
To address this, the following steps are required:
- Workflow Configuration: Update the existing
pr-quality-standalone.yml workflow, or create a new dedicated ci.yml workflow, to manage automated testing jobs.
- Unit Test Integration: Add a specific step to run unit tests using the
pnpm test command. This will execute all configured jest tests within the CI environment.
- E2E Test Integration: Integrate end-to-end and visual regression tests. As per the project features, Playwright is used for screenshot-based testing, so this step should execute the relevant Playwright test command (e.g.,
pnpm test:e2e or similar).
- Deployment Gate: Establish a dependency in
deploy.yml to ensure that the deployment workflow only proceeds if all automated test jobs (unit and E2E) have successfully passed. This will act as a crucial quality gate for releases.
Rationale
Implementing these automated tests in CI will significantly improve the reliability and stability of our releases, align with our 'Production Readiness Focus,' and help detect issues early in the development cycle, reducing the risk of critical bugs reaching production.
Original Issue Body
Description
Currently,
jestandplaywrighttests are not running in CI.Task
pr-quality-standalone.yml(or createci.yml).pnpm test.deploy.ymlrequires the test job to pass before executing deployment.Auto-generated via RepoAuditor CI Health Analysis.
Original Issue
Title: ci: enable automated unit and E2E testing in workflows
Body:
Description
Currently,
jestandplaywrighttests are not running in CI.Task
pr-quality-standalone.yml(or createci.yml).pnpm test.deploy.ymlrequires the test job to pass before executing deployment.Auto-generated via RepoAuditor CI Health Analysis.
Refined Description
Automated testing is a critical component of our CI/CD pipeline, ensuring code quality and preventing regressions. Currently, our continuous integration workflows are not executing
jestfor unit tests andplaywrightfor end-to-end (E2E) and visual regression tests.Proposed Changes
To address this, the following steps are required:
pr-quality-standalone.ymlworkflow, or create a new dedicatedci.ymlworkflow, to manage automated testing jobs.pnpm testcommand. This will execute all configuredjesttests within the CI environment.pnpm test:e2eor similar).deploy.ymlto ensure that the deployment workflow only proceeds if all automated test jobs (unit and E2E) have successfully passed. This will act as a crucial quality gate for releases.Rationale
Implementing these automated tests in CI will significantly improve the reliability and stability of our releases, align with our 'Production Readiness Focus,' and help detect issues early in the development cycle, reducing the risk of critical bugs reaching production.