Summary
Ensure that E2E tests run automatically as part of our CI/CD pipeline to prevent UI regressions.
Technical Requirements
- Workflow File: Modify .github/workflows/test.yml or create a new .github/workflows/e2e.yml.
- Environment: Ubuntu-latest.
Steps for the Agent
- Setup Job:
- Checkout code.
- Install Node.js and Playwright dependencies.
- npx playwright install --with-deps.
- Environment Provisioning:
- Spin up the Freeshard stack using docker-compose up -d.
- Wait for shard_core and traefik to be healthy.
- Execution:
- Run npm run test:e2e inside the tests/e2e directory.
- Artifact Handling:
- Use actions/upload-artifact to save the playwright-report/ on failure.
- Ensure screenshots and trace files are included.
Acceptance
Summary
Ensure that E2E tests run automatically as part of our CI/CD pipeline to prevent UI regressions.
Technical Requirements
Steps for the Agent
Acceptance