bobmatnyc avatar

Webapp Testing Patterns

This is a comprehensive reference guide for Playwright testing patterns that you'll want open when writing web automation tests. It covers the essentials: selector strategies (from data-testid to role-based to XPath), wait patterns (networkidle, element visibility, custom conditions), and common interactions like form filling and file uploads. The selector priority ordering alone is worth having around, it pushes you toward stable test-specific attributes and away from fragile XPath queries. What makes this useful is the completeness, it's clearly drawn from real testing experience and includes the edge cases you'll actually hit, like force clicking, multi-select dropdowns, and toggling checkboxes based on state. Keep it handy when you're struggling with flaky tests or can't remember the syntax for that one Playwright assertion.

skills.sh installs
181
GitHub stars
79
last updated
Aug 21, 2026

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill webapp-testing-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

This is a comprehensive reference guide for Playwright testing patterns that you'll want open when writing web automation tests. It covers the essentials: selector strategies (from data-testid to role-based to XPath), wait patterns (networkidle, element visibility, custom conditions), and common interactions like form filling and file uploads. The selector priority ordering alone is worth having around, it pushes you toward stable test-specific attributes and away from fragile XPath queries. What makes this useful is the completeness, it's clearly drawn from real testing experience and includes the edge cases you'll actually hit, like force clicking, multi-select dropdowns, and toggling checkboxes based on state. Keep it handy when you're struggling with flaky tests or can't remember the syntax for that one Playwright assertion.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Category
Testing & QA
First seen
Jun 3, 2026

More from bobmatnyc/claude-mpm-skills

All 158
1personamanagmentlayer avatarqa-expertpersonamanagmentlayer/pclExpert-level quality assurance, testing strategies, automation, and QA processes181skills.sh installs
2existential-birds avatarpydantic-ai-testingexistential-birds/beagleTest PydanticAI agents using TestModel, FunctionModel, VCR cassettes, and inline snapshots. Use when writing unit tests, mocking LLM responses, or recording API146skills.sh installs
3etewiah avatarrails-testingetewiah/property_web_builderHelp with Rails testing including unit tests, integration tests, fixtures, and debugging test failures. Use when working on tests or debugging test issues.0skills.sh installs
4getsentry avatare2egetsentry/sentry-javascriptRun E2E tests for Sentry JavaScript SDK test applications0skills.sh installs
5inocan-group avatartestinginocan-group/inferred-typesProvides expertise on how to write effective unit tests (runtime and type tests), make testing decisions, and incorporate TDD into development workflows0skills.sh installs
6pluginagentmarketplace avatarPytest Testingpluginagentmarketplace/custom-plugin-pythonMaster test-driven development with pytest, fixtures, mocking, and CI/CD integration0skills.sh installs