E2E Tests
May 14, 2026 ยท View on GitHub
End-to-end tests for LiveDebugger using Playwright.
Setup
mix e2e.setup
Running
mix e2e
# Or via `npx` in the `e2e/` folder:
npx playwright test --ui
npx playwright test --quiet --retries 2
Reports land in e2e/playwright-report/ โ open with npx playwright show-report.
Global setup
global-setup.ts runs once before the suite. It opens the dev app + debugger and verifies the TracingManager initializes asynchronously after boot.
Conventions
- Use
*.serial.spec.tsnaming when a test mutates global state (settings, tracer config) that other tests would race on. - Prefer
getByRole,getByText,locatorover CSS selectors when possible.