Write end-to-end browser tests

playwright-expertskillsetup L29,726
Jeffallan/claude-skills
What it does

Write robust E2E tests using Page Object Model and auto-waiting

Best for

When building maintainable browser automation that resists flakiness via role-based selectors and proper waits.

Inputs
  • · Test requirements, user flow, page URLs, selectors strategy
Outputs
  • · Page Object Model classes
  • · E2E test specs
  • · CI/CD config
  • · trace/screenshot debugging
Requires
  • · Playwright
Preconditions
  • · Application running or mock server configured
  • · Valid test framework setup
Failure modes
  • · Flaky tests due to timing
  • · Brittle selectors breaking on CSS changes
  • · Test pollution from shared state
Trust signals
  • · Test passes 10x without flakes
  • · Coverage > 80%
  • · Ran through CI/CD