Background
PR #297 added a Playwright E2E CI job scoped to tests/graph-sandbox-security.spec.ts only, because the remaining E2E specs have pre-existing failures that would make the CI job red.
Current State
When running the full npm run test:ui suite in CI (with proper MongoDB + S3 infrastructure):
Failing Tests
| Spec |
Failed Tests |
Error |
practice.spec.ts |
1 |
toHaveURL assertion failed |
theme.spec.ts |
6 |
strict mode violation: getByRole(\'button\', { name: \'Problems\' }) resolved to 2 elements (app shell + tags page + active practice page themes) |
Local Reproduction
- Start infrastructure:
docker compose up -d mongodb rustfs and docker compose --profile bootstrap run --rm rustfs-bootstrap
- Run full suite:
cd frontend && npm run test:ui
Goal
Fix these 7 pre-existing test failures so the CI job in .github/workflows/pr-checks.yml can be expanded from:
to:
Acceptance Criteria
Related
Background
PR #297 added a Playwright E2E CI job scoped to
tests/graph-sandbox-security.spec.tsonly, because the remaining E2E specs have pre-existing failures that would make the CI job red.Current State
When running the full
npm run test:uisuite in CI (with proper MongoDB + S3 infrastructure):Failing Tests
practice.spec.tstoHaveURLassertion failedtheme.spec.tsstrict mode violation: getByRole(\'button\', { name: \'Problems\' }) resolved to 2 elements(app shell + tags page + active practice page themes)Local Reproduction
docker compose up -d mongodb rustfsanddocker compose --profile bootstrap run --rm rustfs-bootstrapcd frontend && npm run test:uiGoal
Fix these 7 pre-existing test failures so the CI job in
.github/workflows/pr-checks.ymlcan be expanded from:to:
Acceptance Criteria
npm run test:ui-- tests/graph-sandbox-security.spec.tsscopingRelated