Skip to content

Add comprehensive Playwright E2E test suite#9

Merged
oliks merged 1 commit into
add-filters-and-fixesfrom
add-playwright-tests
Apr 2, 2026
Merged

Add comprehensive Playwright E2E test suite#9
oliks merged 1 commit into
add-filters-and-fixesfrom
add-playwright-tests

Conversation

@oliks
Copy link
Copy Markdown
Owner

@oliks oliks commented Apr 1, 2026

Summary

76 Playwright E2E tests covering all major features.

Test Coverage

Suite Tests Coverage
Home page 4 Hero, navigation, buttons, empty state
Create test 8 Subject dropdown, slider/input sync, filters, checkboxes, submission
Test runner 14 Loading skeleton, answering, correct/wrong, auto-advance, navigation
Finish test 3 Button enable, pass/fail screen, close button
Saved tests 5 Create, click, delete (with confirm), rename, progress persistence
All 13 subjects 16 Each subject loads + API validation + path traversal security
Navigation 7 404 page, header, footer, dark mode toggle

CI

  • E2E Tests job added to GitHub Actions workflow
  • Runs Chromium on ubuntu-latest
  • Uploads test artifacts on failure

Running locally

npm test          # run all tests
npm run test:ui   # interactive Playwright UI

76 tests covering:
- Home page rendering and navigation
- Test creation with subject selection, slider, number input
- Filter checkboxes (attachments, history) and disabled states
- Test runner: question loading, answering, correct/wrong, auto-advance
- Navigation arrows, tile grid, flagging, notes, session stats
- Finish test flow with pass/fail screen
- Saved tests: create, click, delete, rename, progress persistence
- All 13 subjects load and serve questions correctly
- API security (path traversal rejection, 404 handling)
- Dark mode toggle, footer, 404 page
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openatpl Ready Ready Preview, Comment Apr 1, 2026 8:06am

@github-actions github-actions Bot added the ci label Apr 1, 2026
@oliks oliks merged commit 8659569 into add-filters-and-fixes Apr 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant