agentleFS
paulasilvatechpaulasilvatech/awesome-copilot-adventures/.github/skills/frontend-visual-e2e-testing/SKILL.md

frontend-visual-e2e-testing

Skill1 starsChanged 2 months agoMITView on GitHub

Explore and verify frontend journeys with Playwright, representative states and viewports, screenshots, visual regression, console and network evidence, stable fixtures, and reproducible defects. Use this skill when material browser UI behavior or rendered quality needs runtime proof.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use real browser behavior to prove critical journeys, state transitions, responsive boundaries, visual stability, console health, and …

    line 8
  2. Distinctive:

    Use the installed Playwright MCP server for exploration evidence when available.

    line 21
  3. Very specific:

    Use playwright-explore-website before generating a new browser test and playwright-generate-test when code generation is requested.

    line 22
  4. Distinctive:

    Never enter real secrets, payment data, or private personal data.

    line 23
  5. Distinctive:

    Read references/playwright-quality.md and explore the exact flow before generating selectors or tests.

    line 28
  6. Distinctive:

    Use realistic long and localized content plus loading, empty, partial, error, success, disabled, and restricted states when applicable.

    line 36
  7. Distinctive:

    Check overflow, clipping, overlap, occlusion, unstable dimensions, layout shift, real assets, fonts, charts, canvases, and media.

    line 37
  8. Distinctive:

    Do not use screenshots as the only accessibility, usability, or behavioral assertion.

    line 43
  9. Distinctive:

    Do not update baselines mechanically or mask stable product content.

    line 44
  10. Distinctive:

    Do not assume visual results transfer across OS, browser, headless mode, hardware, or fonts.

    line 45
  11. Distinctive:

    Do not claim a flow passed when a required service or state was unavailable.

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Frontend visual and E2E testing

Use real browser behavior to prove critical journeys, state transitions, responsive boundaries, visual stability, console health, and network outcomes.

When to invoke

  • "Validate this frontend flow with Playwright."
  • "Run visual and responsive QA for this screen."
  • "Add or review screenshot regression coverage."
  • "Check console and network failures during this journey."
  • "Produce a reproducible browser QA report."

Prerequisites and context

  • A safe running URL or approved startup command, critical flow, fixtures, and expected acceptance IDs are required.
  • Use the installed Playwright MCP server for exploration evidence when available.
  • Use playwright-explore-website before generating a new browser test and playwright-generate-test when code generation is requested.
  • Never enter real secrets, payment data, or private personal data.

Procedure

  1. Detect existing Playwright configuration, projects, fixtures, auth state, base URL, artifact paths, screenshot policy, and commands.
  2. Read references/playwright-quality.md and explore the exact flow before generating selectors or tests.
  3. Exercise representative success and risk states, keyboard and focus behavior, console errors, failed requests, and unexpected network calls.
  4. Inspect material screens near narrow mobile, common mobile, intermediate/tablet, standard desktop, and supported wide conditions plus actual breakpoint boundaries.
  5. Apply references/visual-regression.md before creating or updating baselines.
  6. Record the environment and produce assets/qa-report.md with evidence, defects, limitations, and retest.

Runtime requirements

  • Use realistic long and localized content plus loading, empty, partial, error, success, disabled, and restricted states when applicable.
  • Check overflow, clipping, overlap, occlusion, unstable dimensions, layout shift, real assets, fonts, charts, canvases, and media.
  • Pair screenshot differences with behavioral assertions.
  • Record browser, OS, viewport, device scale, fonts, timezone, locale, color scheme, reduced motion, data, build, and service revisions.

Limits

  • Do not use screenshots as the only accessibility, usability, or behavioral assertion.
  • Do not update baselines mechanically or mask stable product content.
  • Do not assume visual results transfer across OS, browser, headless mode, hardware, or fonts.
  • Do not claim a flow passed when a required service or state was unavailable.

Progressive disclosure and bundled resources

  • references/playwright-quality.md: exploration, selectors, assertions, console, and network rules.
  • references/visual-regression.md: stable baseline policy.
  • assets/qa-report.md: browser QA template.
  • evals/evals.json: representative output evaluations.

Output template

## Browser QA result
**Status:** passed | failed | blocked

### Environment and flows
| Build | Browser/OS | Viewport/state | Flow/acceptance |
| --- | --- | --- | --- |

### Evidence and defects
| Scenario | Behavior | Visual | Console/network | Result |
| --- | --- | --- | --- | --- |

### Retest
- <exact setup and flow>

Quality gate

  • Existing Playwright configuration and commands were reused.
  • The flow was explored before selectors or tests were generated.
  • Representative states, boundary viewports, keyboard/focus, console, and network behavior were inspected.
  • Screenshots use stable fixtures and are paired with behavioral assertions.
  • Baseline updates are reviewed product changes with documented masks.
  • Environment, defects, redaction, limitations, and retest steps are reproducible.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.