Install any skill in seconds. Free to start, no credit card required.
Get Started Free →xu-xiang/e2e-testing
Playwright E2E 测试模式、页面对象模型 (Page Object Model)、配置、CI/CD 集成、产物管理以及不稳定测试 (Flaky Test) 策略。
Passed 17 of 22 test cases with the skill, and 10 of 22 without it.
and 7 more in the full report
7 fixed10 passed either way5 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
What workflow step commands are needed in GitHub Actions to install Node, project packages, browser binaries with OS dependencies, and execute test runs?
| Checked | Without skill | With skill |
|---|---|---|
| Installs Playwright browsers with system dependencies using npx playwright install --with-deps | Passed | Passed |
| Runs test suite using npx playwright test | Missed | Passed |
The instructions your model reads when the skill loads.
构建稳定、快速且易于维护的端到端(E2E)测试套件的全面 Playwright 模式。
tests/
├── e2e/
│ ├── auth/
│ │ ├── login.spec.ts
│ │ ├── logout.spec.ts
│ │ └── register.spec.ts
│ ├── features/
│ │ ├── browse.spec.ts
│ │ ├── search.spec.ts
│ │ └── create.spec.ts
│ └── api/
│ └── endpoints.spec.ts
├── fixtures/
│ ├── auth.ts
│ └── data.ts
└── playwright.config.ts
import { Page, Locator } from '@playwright/test'
export class ItemsPage {
readonly page: Page
readonly searchInput: Locator
readonly itemCards: Locator
readonly createButton: Locator
constructor(page: Page) {
this.page = page
this.searchInput = page.locator('[data-testid="search-input"]')
this.itemCards = page.locator('[data-testid="item-card"]')
test cases passed, vs 10 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.