playwright-tests
CommunityPlaywright tests with accessible selectors
Software Engineering#automation#playwright#e2e-testing#test-patterns#flaky-tests#web-first#accessible-selectors
Authorhasparus
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Tests for modern web apps often suffer from brittleness and flakiness when using brittle selectors. This skill promotes accessible selectors (getByRole, getByLabel) and web-first assertions to create robust Playwright end-to-end tests.
Core Features & Use Cases
- Use accessible selectors in Playwright tests to improve resilience against DOM changes.
- Follow core patterns like waiting, list counts, hydration, and error handling to reduce flakiness.
- Apply guidance when creating, debugging, or reviewing test suites to ensure deterministic behavior.
Quick Start
Start by replacing brittle CSS selectors with getByRole and getByLabel in your tests to reduce flakiness.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: playwright-tests Download link: https://github.com/hasparus/claude-skills-dotfiles/archive/main.zip#playwright-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.