بنقرة واحدة
e2e-testing
Use when writing end-to-end tests with Playwright, setting up Page Object Model, or configuring E2E test CI/CD with artifact management.
القائمة
Use when writing end-to-end tests with Playwright, setting up Page Object Model, or configuring E2E test CI/CD with artifact management.
Use when designing REST or GraphQL endpoints, defining request/response schemas, or establishing API versioning and authentication conventions.
Use when building web components, pages, or visually distinctive interfaces where design quality matters as much as code quality.
Use when writing Go code, structuring packages, handling errors, managing concurrency, writing tests, or building deployable Go applications.
Use when reviewing contracts or legal documents for Chinese law risks. 中国法律风险审查专家,识别高危条款并提供修改建议。
Use when design document needs user review - auto-opens browser to render MD content
Use when writing Python code, setting up tests with pytest, or configuring Python application deployment.
| name | e2e-testing |
| description | Use when writing end-to-end tests with Playwright, setting up Page Object Model, or configuring E2E test CI/CD with artifact management. |
| metadata | {"author":"skills-team"} |
| Phase | Actions |
|---|---|
| Plan | Identify critical journeys, define scenarios, prioritize by risk |
| Create | POM pattern, data-testid locators, auto-waiting, assertions |
| Execute | Run 3-5x locally, quarantine flaky, upload artifacts |
[data-testid="..."] > CSS > XPathwaitForResponse() > waitForTimeout()page.locator().click() waits; page.click() doesn'texpect() at every key step// Quarantine
test.fixme(true, 'Flaky - Issue #123')
// Conditional skip in CI
test.skip(process.env.CI, 'Flaky - Issue #123')
// Identify flakiness
npx playwright test --repeat-each=10
Common causes: Race conditions, network timing, animation timing.