e2e-browser
Design and run reliable, permission-aware browser end-to-end tests with Playwright MCP and reproducible test evidence.
Files1
View on GitHubSKILL.mdCapabilityTreeSitter/03-AgenticRuntime/e2e-browser/SKILL.md
GitHubBrowser E2E workflow
Use this skill manually for browser work. Choose the isolated Playwright MCP for test data and the extension MCP only when an existing signed-in browser session is essential and the user has approved that scope.
- Define the journey, assertions, test data, browser matrix, and cleanup before opening a page. Prefer local/staging URLs and disposable accounts.
- Start the app with its documented command. Confirm health/readiness, not merely that a port is open.
- Test both the happy path and failures: invalid input, no network, slow response, auth expiry, reload/back navigation, mobile viewport, keyboard-only flow, reduced motion, and duplicate submission.
- Use stable semantic locators. Never assert private implementation details or sleep for a fixed time when a user-visible condition can be awaited.
- Capture a screenshot, trace, console errors, failed requests, and exact browser/device for each failure. Redact tokens, passwords, customer data, and authenticated screenshots before attaching them anywhere.
- Verify no production data was created. State what was tested, the URL/environment, result, and coverage gaps.
Do not bypass login, payment, rate limits, CAPTCHAs, consent, or access controls. Browser extension mode reuses the user profile; treat it as high-sensitivity access.