bagisto-playwright-testing
Installation
SKILL.md
Playwright Testing
Do not write the spec first
"Add Playwright tests for X" is not an instruction to start typing a spec. It is an instruction to find out what X actually does, what already covers it, and which of its behaviours a browser can prove that a Pest test cannot.
A test written before that investigation is usually a duplicate, a test of the wrong layer, or a test that passes whether or not the feature works. All three cost more than they return: someone maintains them, and nobody can trust them.
Work the pipeline in order — understand the feature and its rules, map what already covers it, decide the scenarios and which belong in Pest, design the data and locators, implement, then classify every failure before changing anything: