
E2E testing
Guides an agent through writing stable Playwright end-to-end test suites
E2E testing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 71
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About E2E testing
This skill gives an agent a set of Playwright testing conventions for building end-to-end suites that are stable and easy to maintain. It covers how to lay out test folders with separate auth, feature and API specs, how to wrap pages in a Page Object Model with data-test-id locators, and how to structure tests with beforeEach hooks and explicit assertions.
The guidance also includes a sample Playwright configuration with parallel runs, retries and CI-aware worker settings, multi-browser and mobile projects, and a dev server hook. For troubleshooting, it describes quarantining flaky tests with fixme or conditional skips, repeating runs to reproduce intermittent failures, and replacing fixed timeouts with waits on responses or visibility. It also shows how to capture screenshots, traces and videos, upload reports from a GitHub Actions workflow, and format a test summary report.
The examples are written in TypeScript and assume a web app with Playwright installed. The skill includes a wallet-mocking example for Web3 pages and a cautionary pattern for trading flows that should not run against production.
When your agent uses it
Playwright E2E testing patterns, Page Object Model, configuration, CI/CD integration, artifact management, and flaky test strategies.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (8 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the egc plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add Fmarzochi/EGC
/plugin install egc@egcOr copy only this skill to ~/.claude/skills/e2e-testing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/e2e-testing &&
cp -R "$tmp/.agents/skills/e2e-testing" ~/.claude/skills/e2e-testing &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/e2e-testing inside it instead.
Copy the skill folder to ~/.agents/skills/e2e-testing to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/e2e-testing &&
cp -R "$tmp/.agents/skills/e2e-testing" ~/.agents/skills/e2e-testing &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/e2e-testing inside it instead.
Copy the skill folder to ~/.cursor/skills/e2e-testing to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/e2e-testing &&
cp -R "$tmp/.agents/skills/e2e-testing" ~/.cursor/skills/e2e-testing &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/e2e-testing inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/Fmarzochi/EGC.git --path .agents/skills/e2e-testingOr copy the folder to ~/.gemini/skills/e2e-testing yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/e2e-testing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Fmarzochi/EGC.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/e2e-testing &&
cp -R "$tmp/.agents/skills/e2e-testing" ~/.copilot/skills/e2e-testing &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/e2e-testing inside it instead.
Get the folder:
git clone --depth 1 https://github.com/Fmarzochi/EGC.gitThen copy EGC/.agents/skills/e2e-testing into your agent's skills folder as e2e-testing. Agents that support SKILL.md read one folder per skill.
What it does
- Page Object Model
- Pattern for wrapping page locators and actions in reusable classes.
- Playwright configuration
- Sample config covering retries, reporters, browser projects and a dev server.
- Flaky test handling
- Ways to quarantine, repeat and fix intermittent tests by replacing fixed timeouts.
- Artifact capture
- Guidance on screenshots, traces and videos saved for failed or key steps.
- CI pipeline example
- A GitHub Actions workflow that installs browsers, runs tests and uploads reports.
- Test report template
- Markdown layout for summarizing pass, fail and flaky counts with artifact links.
Good for
- Set up a Playwright project with browser projects and CI-aware retries
- Refactor brittle tests into page objects with reusable locators
- Diagnose and quarantine a flaky end-to-end test
- Add a GitHub Actions job that runs Playwright and saves the HTML report
- Write a summary report of a failing end-to-end run
E2E testing FAQ
What does the skill need to run?
The examples are TypeScript Playwright tests, so the project needs Playwright and Node.js. The CI example uses Node 20 and a npm dev server on port 3000.
Does E2E testing execute any scripts?
No scripts are bundled. It provides code patterns and shell commands for the agent to follow.
How does E2E testing handle flaky tests?
It describes quarantining tests with test.fixme or conditional skips, repeating runs with --repeat-each, and replacing arbitrary waits with waits on specific responses or element states.
How do I install E2E testing in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/e2e-testing to use it in all your projects, or to .claude/skills/e2e-testing in one project. Or install the egc plugin, which includes it: /plugin marketplace add Fmarzochi/EGC, then /plugin install egc@egc.
Does E2E testing run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use E2E testing?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to E2E testing?
The closest alternatives to E2E testing are E2E testing, E2E playwright, Playwright E2E testing, Playwright verification and E2E testing edho ferdian.
Where this comes from
- Description: from the skill's own SKILL.md.
More from Fmarzochi/EGC

Fetch current library and framework docs through Context7 MCP instead of relying on memory
- Open source
- 71 GitHub stars
- Knowledge and memory

Gives agents a structured workflow to capture, diagnose and recover from their own
- Open source
- 71 GitHub stars
- Developer tools

Builds a repo-specific EGC install plan that sorts components into daily and library sets
- Open source
- 71 GitHub stars
- Developer tools

Guides an agent through consistent REST API design: naming, status codes, pagination
- Open source
- 71 GitHub stars
- Developer tools

Drafts long-form articles, guides and newsletters in a consistent, specific voice
- Open source
- 71 GitHub stars
- Writing style

Guides an agent through Node.js and Express backend design, data access and error handling
- Open source
- 71 GitHub stars
- Developer tools





