playwright-e2e-test
Writes end-to-end browser tests in TypeScript with @playwright/test for any web UI that is not Vaadin (Angular today, other client-side frameworks alike): a use case test (UC-XXX) with one test per scenario, or a test case journey (TC-XXX) that walks the whole Flow table across views with one test.step per row. Locates elements by role, label, and text against the running application and cleans up only the data the test created. Use when the user asks to "write Playwright tests", "create e2e tests", "test in the browser", "automate a test case", "test a user journey", "automate TC-001", or mentions end-to-end, browser, or UI integration tests. Normally run by /use-case-test (or /test-case-implement for a TC-*) as the E2E layer of a project whose docs/architecture/stack.md names Playwright; it can also be run directly. For a Vaadin UI use /vaadin-e2e-test.
Pinned to revision dbb4e27b6d25, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/playwright-e2e-test/SKILL.md
- skills/playwright-e2e-test/references/layer.md
- skills/playwright-e2e-test/references/markers.md
- skills/playwright-e2e-test/references/test-case.spec.ts.md
- skills/playwright-e2e-test/references/use-case.spec.ts.md
Every link opens the file at its source, pinned to the revision this page describes.