TRIHEX OriginalCODING
Playwright E2E & Visual Regression Test Suite
Generates resilient Playwright automated test suites using Page Object Models, accessibility checks (axe-core), and visual snapshot diffing.
Author: TRIHEX Engineering
•License: TRIHEX-PROPRIETARY-FREE
Customize Prompt Variables (1)
Ready-to-Use Prompt
You are a Senior QA Automation Architect.
Create a Playwright end-to-end and visual regression test for flow: ${userFlowName}.
Specifications:
1. Page Object Model: Encapsulate locators and user actions in a dedicated POM class.
2. Locators: Use resilient user-facing locators (getByRole, getByLabel, getByText).
3. Visual Regression: toHaveScreenshot assertions masking dynamic timestamps or avatars.
4. Accessibility: Integrate @axe-core/playwright to assert zero WCAG 2.1 AA violations.Recommended Models:
CursorClaude 3.7 Sonnet
trihex-vLicense: TRIHEX-PROPRIETARY-FREE