Summary
Three E2E test suites are skipped because their selectors don't match the current UI after the shadcn/ui migration:
frontend/e2e/character-creation.spec.ts
frontend/e2e/complete-e2e-workflow.spec.ts
frontend/e2e/user-journey.spec.ts
Problem
These tests use plain CSS class selectors (.campaign-setup, .character-card) and button text matching (button:has-text("Create Campaign")) that no longer exist in the rendered DOM. The shadcn migration introduced CSS modules (hashed class names) and changed button labels.
Fix needed
- Add
data-testid attributes to key interactive elements across campaign, character, and game components
- Update test selectors to use
data-testid instead of fragile class/text matching
- Remove
test.describe.skip / test.skip() once tests pass
- Re-enable nightly schedule in
.github/workflows/e2e-tests.yml once green
Skipped in
Commit 9eeede4 — test: skip broken E2E flow tests until selectors are fixed
Summary
Three E2E test suites are skipped because their selectors don't match the current UI after the shadcn/ui migration:
frontend/e2e/character-creation.spec.tsfrontend/e2e/complete-e2e-workflow.spec.tsfrontend/e2e/user-journey.spec.tsProblem
These tests use plain CSS class selectors (
.campaign-setup,.character-card) and button text matching (button:has-text("Create Campaign")) that no longer exist in the rendered DOM. The shadcn migration introduced CSS modules (hashed class names) and changed button labels.Fix needed
data-testidattributes to key interactive elements across campaign, character, and game componentsdata-testidinstead of fragile class/text matchingtest.describe.skip/test.skip()once tests pass.github/workflows/e2e-tests.ymlonce greenSkipped in
Commit 9eeede4 —
test: skip broken E2E flow tests until selectors are fixed