Skip to content

Commit 4e3061c

Browse files
committed
ci: run the Playwright e2e suite alongside unit tests
The e2e suite already caught two real bugs this pass (hardcoded inline canvas sizing, hidden output-actions staying visible) that jsdom's unit tests structurally can't catch. Leaving it out of CI would let the same class of bug back in unnoticed.
1 parent dd84c68 commit 4e3061c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ jobs:
2121
- run: npm run lint
2222
- run: npm test
2323
- run: npm run build
24+
- run: npx playwright install --with-deps chromium
25+
- run: npm run test:e2e

0 commit comments

Comments
 (0)