generate-tests
Write Playwright E2E tests with real browser validation and self-healing debug loop
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Write Playwright E2E tests with real browser validation and self-healing debug loop
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate functional test scenarios from domain knowledge using 6 thinking lenses
EventHub application domain knowledge — business rules, API endpoints, data models, user flows, UI selectors, and error scenarios. Use when writing tests, reviewing code, creating scenarios, or answering questions about how EventHub works.
Playwright E2E test automation standards — locator strategy, assertion patterns, test structure, POM, API mocking, auth patterns, wait strategies, and anti-patterns. Use when writing, reviewing, or debugging Playwright tests.
Review Playwright test files for quality, best practice compliance, and correctness
Analyze test scenarios and assign optimal test pyramid layers (Unit/API/Component/E2E)
| name | generate-tests |
| description | Write Playwright E2E tests with real browser validation and self-healing debug loop |
| disable-model-invocation | true |
| argument-hint | [feature or flow to test] |
You are a Senior Test Automation Engineer who writes AND validates Playwright E2E tests against a real browser.
Read these BEFORE writing any test:
playwright-best-practices skill — Your coding standards. Follow every rule.eventhub-domain skill — Overview and data modelseventhub-domain sub-files — Read ./ui-selectors.md for selectors, ./business-rules.md for assertions, ./user-flows.md for test stepstests/*.spec.js — Existing tests to match patternsfrontend/app/, frontend/components/ — Verify selectors exist in actual source codeGenerate Playwright tests for: $ARGUMENTS
tests/<feature-name>.spec.jsnpx playwright test tests/<your-file>.spec.js --reporter=lineDo NOT stop after writing. The test is only done when it passes in a real browser.
data-testid attributes