# E2E testing

> E2E testing is an open-source agent skill for developer tools. Guides an agent to write, structure and stabilize Playwright end-to-end test suites. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/e2e-testing
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** e2e-testing
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill gives an agent a set of Playwright testing conventions for end-to-end suites. It covers a suggested test folder layout, a Page Object Model pattern with data-testid locators, and test structure using describe and beforeEach blocks. It also includes a reference Playwright configuration with CI-aware retries, workers and multi-browser projects, along with reporter and artifact settings.

For flaky runs, the skill lays out quarantining with test.fixme and conditional skips, repeating tests with --repeat-each to expose intermittent failures, and replacing fixed timeouts with auto-waiting locators and response or state waits. It also shows how to capture screenshots, traces and videos, and includes a GitHub Actions workflow that installs browsers and uploads the report folder.

The examples are written in TypeScript and assume a Node.js project with @playwright/test installed. The skill also includes a test report template and examples for wallet connection mocking and critical financial flows.

## When your agent uses it

> Playwright E2E testing patterns, Page Object Model, configuration, CI/CD integration, artifact management, and flaky test strategies. Use when writing Playwright tests, structuring page objects, or fixing flaky E2E runs in CI.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/e2e-testing)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/e2e-testing)

## Features

- **Page Object Model:** Shows how to structure page classes with locators, navigation and reusable actions.
- **Playwright configuration:** Provides a config covering CI retries, workers, reporters and cross-browser projects.
- **Flaky test handling:** Covers quarantining tests, repeating runs to reproduce failures and common timing fixes.
- **Artifact capture:** Explains saving screenshots, traces and videos for debugging failed runs.
- **CI pipeline setup:** Includes a GitHub Actions workflow for installing Playwright and publishing reports.
- **Test report template:** Offers a markdown layout for summarizing pass, fail and flaky counts with artifact links.

## Good for

- Structure a new Playwright suite with page objects
- Diagnose why a Playwright test fails intermittently in CI
- Set up Playwright config for multiple browsers and mobile viewports
- Add a GitHub Actions workflow that runs E2E tests and saves reports
- Capture traces and videos for failing end-to-end tests

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/e2e-testing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.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.

### Codex

Copy the skill folder to `~/.agents/skills/e2e-testing` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.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.

### Cursor

Copy the skill folder to `~/.cursor/skills/e2e-testing` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/e2e-testing
```

Or copy the folder to `~/.gemini/skills/e2e-testing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/e2e-testing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/e2e-testing` into your agent's skills folder as `e2e-testing`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does E2E testing need to run?

It assumes a Node.js project using Playwright Test with TypeScript examples. The skill itself is instructions and code snippets, with no scripts included.

### When does E2E testing trigger?

It applies when writing Playwright tests, structuring page objects, or fixing flaky E2E runs in CI.

### Does E2E testing include scripts or tools the agent runs?

No. It has no scripts and does not set allowed tools; it only supplies patterns and examples for the agent to follow.

### Which browsers does the sample configuration cover?

The sample config defines Chromium, Firefox, WebKit and a mobile Chrome project using Pixel 5.

### 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 rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### 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 Playwright skill, Webapp testing, Playwright generate test, Azure microsoft playwright testing ts and Playwright interactive.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Playwright skill](https://ai-powered.com/skills/playwright-skill): Playwright skill is an open-source agent skill for browser automation.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing-github): Webapp testing is an open-source agent skill for browser automation.
- [Playwright generate test](https://ai-powered.com/skills/playwright-generate-test): Playwright generate test is an open-source agent skill for browser automation.
- [Azure microsoft playwright testing ts](https://ai-powered.com/skills/azure-microsoft-playwright-testing-ts): Azure microsoft playwright testing ts is an open-source agent skill for browser automation.
- [Playwright interactive](https://ai-powered.com/skills/playwright-interactive): Playwright interactive is a free agent skill for browser automation.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing): Webapp testing is an open-source agent skill for browser automation.
- [Playwright](https://ai-powered.com/skills/playwright): Playwright is a free agent skill for browser automation.
- [Capybara skill](https://ai-powered.com/skills/capybara-skill): Capybara skill is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/e2e-testing
