harleybartles/agent-asset-marketplace/playwright-testing

Claude Code and agent skill by harleybartles/agent-asset-marketplace

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when writing, reviewing, or debugging Playwright end-to-end tests for web applications.

Install

npx vskill@latest install harleybartles/agent-asset-marketplace/playwright-testing

SKILL.md

The same SKILL.md was published earlier as harleybartles/agent-asset-marketplace/playwright-testing.

Playwright Testing

Use this skill for end-to-end web testing with Playwright: selectors, fixtures, retries, and reporting.

When to Use

  • Writing, reviewing, or debugging Playwright end-to-end tests.
  • Choosing selectors, fixtures, or retry and reporting strategies.
  • Running tests across browsers or integrating with CI.

Core Pattern

  1. Favor user-facing locators: getByRole, getByText, getByLabel before CSS/XPath.
  2. Use page object models or fixtures to centralize selectors and setup.
  3. Keep tests independent; reset state with test.use or fixture-scoped setup.
  4. Configure retries for flaky suites and shard jobs in CI for parallelism.
  5. Use built-in reporters and traces; inspect trace.zip on failure.
  6. Avoid sleeps; rely on auto-waiting assertions and explicit expectations.

Common Mistakes

  • Using brittle CSS selectors that break on visual changes. → Prefer accessible locators and data-testid only as a last resort.
  • Sharing mutable state across tests. → Isolate state through fixtures or per-test setup.
  • Ignoring flakiness instead of root-causing it. → Enable tracing, retries, and review timing or race conditions.

Load references/operational-guidance.md for deeper coverage of selectors, fixtures, retries, and reporting.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/harleybartles/agent-asset-marketplace/playwright-testing/badge)](https://verified-skill.com/skills/harleybartles/agent-asset-marketplace/playwright-testing)

Something wrong with this skill or its page? Tell us.