e2e-playwright
Skill1 starsChanged 30 days agoMITView on GitHub
Write, run and fix Playwright e2e tests in the repo for a web UI. Use when the frontend needs user-flow tests, a plan task carries e2e, an e2e test is red or flaky, the user says "e2e", "Playwright", "test the flow", "test the UI", or uses the Playwright test agents (planner, generator, healer).
3 other projects use a version of this.
Adopted by
Most recently taken up by
- naomiaro/waveform-playlisttheir own version, first seen Nov 16, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Oct 13, 2026
- Asvarox/allkaraoketheir own version, first seen Oct 8, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- naomiaro/waveform-playlist★ 1.7ksame name
- Asvarox/allkaraoke★ 271same name
- nimadorostkar/Claude-Skills-collection★ 41same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- architectureSkill
- brainstormingSkill
- commit-pushSkill
- docs-standardsSkill
- domain-modelingSkill
- executing-plansSkill
- grillingSkill
- migrating-legacy-codeSkill
- prototypeSkill
- resolving-merge-conflictsSkill
- routingSkill
- security-testingSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Read playwright.config.ts, the test folder and the e2e command the project declares (its own instructions or package.json).
- Distinctive: line 22
Run only on local or on an environment the user confirms may take test data.
- Very specific: line 34
Run the project's own e2e command.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Adapted from currents-dev/playwright-best-practices-skill (MIT, © 2026 Currents Software Inc.), read 2026-10-29, and playwright.dev/docs/test-agents (Apache-2.0, © Microsoft), read 2026-10-29. -->Playwright e2e tests
The frontend is checked by e2e: a test walks the real user flow on the running app. Unit tests belong to the backend
(test-driven-development). Trying the UI by hand in a browser is a separate job and does not replace an e2e test.
1 · Before writing
- Read
playwright.config.ts, the test folder and the e2e command the project declares (its own instructions orpackage.json). No Playwright yet → tell the user:@playwright/testis a new dependency; install it with the repo's package manager only after the user agrees. - One user flow per test; name it by the result the user sees (for example "an admin can lock an account").
- Data: each test creates its own data through the API or a fixture, with a unique name prefix; it does not rely on data another test created and does not share an account between workers.
- Login: one setup project saves
storageStateper role; credentials come from environment variables, never from the test file (R-016). - Run only on local or on an environment the user confirms may take test data.
2 · Writing
Locators, waits, data, flakiness, CI: references/writing-tests.md.
- Assert what the user sees and the state after the action (the record is still in the list after reopening the page), not implementation details.
- Each main flow also gets one wrong path: a required field left empty, or a role without permission.
3 · Run and report
- Run the project's own e2e command. A new test also runs with
--repeat-each=3before you call it green. - Red → open the trace (
npx playwright show-trace <file>) and sort the cause: app wrong · test wrong · environment · data. App wrong → report it; do not edit the test to pass. - No
test.skip,test.fixme, longer timeout or removed assertion to turn a test green without the user's agreement. - Report: the command, the last result line, and each red test with its trace path.
4 · Playwright test agents
Generating a plan, generating tests and fixing red tests with planner / generator / healer:
references/playwright-agents.md.
Excuses
| Thought | Reality |
"Add waitForTimeout to be safe" | A fixed wait slows the run and stays flaky; use web-first assertions |
| "The test is flaky, turn on retry and done" | Retry hides the bug; find the cause per writing-tests.md › Flaky tests |
| "The healer says green" | Read the healer's diff: a loosened or removed assertion is broken, not green |
| "The old test is red, skip it to merge" | A skip needs the user's agreement and a reason |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

