playwright-e2e-tests
Installation
SKILL.md
Playwright E2E Tests
Spec-authoring rules live in web/tests/e2e/README.md — the Page Object Model, locator
priority, and auto-retrying matchers. Read it before adding or changing a spec. This skill covers
the surrounding workflow: layout, environment, running tests, auth, and Onyx-specific utilities.
Project Layout
- Tests:
web/tests/e2e/— organized by feature (auth/,admin/,chat/,assistants/,connectors/,mcp/) - Config:
web/playwright.config.ts - Utilities:
web/tests/e2e/utils/ - Constants:
web/tests/e2e/constants.ts - Global setup:
web/tests/e2e/global-setup.ts - Output:
web/output/playwright/
Imports
Always use absolute imports with the @tests/e2e/ prefix — never relative paths (../, ../../). The alias is defined in web/tsconfig.json and resolves to web/tests/.