E2E Testing Patterns
Keeps browser test suites from decaying into flaky maintenance work.
Install
/plugin marketplace add wshobson/agents; /plugin install developer-essentials
When end-to-end tests are being written, a suite turns flaky, or browser tests go into CI.
- Author
- wshobson
- License
- MIT
Covers Playwright and Cypress with the rules that decide whether a suite survives its first six months: stable selectors from roles and test ids instead of CSS chains, waiting on conditions rather than fixed timeouts, and page objects so a UI change touches one file. It also draws the line on what belongs at this level — critical journeys like login and checkout, not edge cases better served by unit tests. Debugging gets its own section: headed runs, trace viewer, and test steps that make a CI failure readable.
Similar skills
Finishing a Development Branch
SkillCloses finished branch work through a fixed order: green suite, then a choice, then cleanup.
Dispatching Parallel Agents
SkillSplits genuinely independent problems across agents that run at the same time.
Debugging Compose Recompositions
SkillMakes recomposition visible through inspector counts and per-argument change reasons.
Comments(0)
Sign in to comment