Agent skill

E2E Test

by exelearning in exelearning/exelearning

Write or debug repository Playwright specs, including isolated projects, preview frames and multi-user fixtures.

AGPL-3.0Auto-check passedTesting & QA

Install E2E Test

skills CLI
$ npx skills add exelearning/exelearning --skill e2e-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install exelearning/exelearning e2e-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/exelearning/exelearning.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/e2e-test .claude/skills/e2e-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
e2e-test
GitHub stars
145
Token cost
~1.1k tokens
SKILL.md length
266 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Write or debug repository Playwright specs, including isolated projects, preview frames and multi-user fixtures.

  • Tasks that involve End-to-end testing
  • SKILL.md covers When to Use, Key Files, Credentials and Key Helpers…, plus 4 more sections
  • Calls make and bun
  • Tasks that involve Browser testing

What it does

E2E Test is an agent skill from exelearning/exelearning. Write or debug repository Playwright specs, including isolated projects, preview frames and multi-user fixtures.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering End-to-end testing and Browser testing. It works with Playwright. The repository describes itself as: eXeLearning is an AGPL-licensed free/libre tool to create and publish open educational resources. The licence is AGPL-3.0.

When your agent uses it

  • Tasks that involve End-to-end testing
  • Tasks that involve Browser testing

Example prompts

  • “/e2e-test”

What it can do on your machine

Read from SKILL.md and the folder at commit 319b5d2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make
    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

E2E Test loads about 1.1k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 266 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from exelearning/exelearning at commit 319b5d2, republished under its AGPL-3.0 licence (© exelearning). 266 words, ~1,137 tokens.

Download SKILL.mdSave it as .claude/skills/e2e-test/SKILL.md (or your agent's skills folder).
name
e2e-test
description
Write or debug repository Playwright specs, including isolated projects, preview frames and multi-user fixtures.

Skill: E2E Test

Completion: verify-change.

Parent: AGENTS.md | Related: frontend-module

When to Use

Writing or modifying Playwright E2E tests.

Key Files

  • test/e2e/playwright/specs/*.spec.ts — test specs
  • test/e2e/playwright/helpers/workarea-helpers.ts — primary helpers
  • test/e2e/playwright/helpers/ — domain helpers (navigation, editor, file-manager, content, sync, undo-redo)
  • test/e2e/playwright/fixtures/ — test fixtures (includes collaboration.fixture for multi-user)
  • test/fixtures/ — sample ELP files and XML
  • playwright.config.ts — config (chromium/firefox/static projects, port 3001 dynamic / 3002 static)

Credentials

Email: user@exelearning.net
Password: 1234

Key Helpers (workarea-helpers.ts)

typescript
import {
    waitForAppReady, openElpFile, saveProject,
    openPreviewPanel, closePreviewPanel, getPreviewFrame,
    navigateToPageByTitle, selectFirstPage,
    addIdevice, editIdevice, saveIdevice, deleteIdevice,
    verifyIdeviceInEditor, verifyInPreview, getIdeviceFromYjs,
    handleCloseWithoutSavingModal, expandIdeviceCategory,
} from '../helpers/workarea-helpers';

Common Workflows

typescript
// Server mode only: create an isolated project (static specs use their local/import helpers)
const response = await page.request.post('/api/project/create-quick', { data: { title: 'Test' } });
const { uuid } = await response.json();
await page.goto(`/workarea?project=${uuid}`);
await waitForAppReady(page);

// Add iDevice and verify
await selectFirstPage(page);
await addIdevice(page, 'text');

// Preview
await openPreviewPanel(page);
const frame = await getPreviewFrame(page);
await frame.locator('article').first().waitFor({ timeout: 10000 });
Multi-User (Collaboration) Tests

Reuse collaboration.fixture and waitForYjsSync from the existing multi-user specs. Each user needs a separate authenticated browser context. Do not hand-roll another login/context helper or rely on shared cookies. Use skipInStaticMode for server-only collaboration, preserving the existing justified skip.

Verify Both UI and Backend State

After testing an authorization rejection, verify the resource still exists server-side:

typescript
// UI says 403
expect(deleteResponse.status()).toBe(403);
// Backend confirms resource is untouched
const projectAfter = await page.request.get(`/api/projects/uuid/${uuid}`);
expect(projectAfter.status()).toBe(200);

Commands

bash
bun x playwright test --project=chromium test/e2e/playwright/specs/my-test.spec.ts   # Single spec
make build-static && bun x playwright test --project=static specs/my-test.spec.ts     # Static build
make test-e2e                                                                          # All E2E
make fix                                                                               # Lint

Gotchas

  • NEVER waitForTimeout() for async — use deterministic waits (waitForFunction, waitFor, waitForSelector). Acceptable: brief 200-500ms pauses for CSS animations only.
  • Always use helpers from workarea-helpers.ts — reinventing selectors leads to brittle tests.
  • One project per test — create via API (/api/project/create-quick) in server mode; reuse static specs' local/import setup in static mode, which has no API server.
  • Validate UI state AND system state — don't just check what the user sees. Also verify Yjs metadata, API responses, and database state where relevant.
  • Collaboration tests need collaboration.fixture — and must use skipInStaticMode since static mode has no server.
  • Library loading must work — tests should NOT accept 404 errors. All MathJax/library resources must resolve correctly.
Debugging Failures
typescript
const debugInfo = await iframe.locator('body').evaluate(body => ({
    elementCount: body.querySelectorAll('.target').length,
    htmlSnippet: body.innerHTML.substring(0, 500),
}));
console.log('Debug:', JSON.stringify(debugInfo, null, 2));

Done When

  • Test creates its own project (isolation)
  • Uses helpers from workarea-helpers.ts
  • No waitForTimeout() for async operations
  • Validates both UI and backend state
  • Passes: bun x playwright test --project=chromium <file>
  • make fix passes clean

© exelearning, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/e2e-test of exelearning/exelearning.

Open the folder on GitHubat commit 319b5d2

Compare with similar skills

E2E Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

E2E Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
E2E Test this skillexelearning/exelearning145—~1.1kAutomated safety check: PassAGPL-3.0
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
playwright-cli Browser Automationgithub/gh-aw5.3k23 repos~2.8kAutomated safety check: PassMIT
Write and Verify Playwright Testsappsmithorg/appsmith41k—~2.9kAutomated safety check: NotesApache-2.0
Cucumber and Playwright E2E Testslanggenius/dify158k—~682Automated safety check: PassCustom licence
E2E Testinglangflow-ai/langflow156k—~3.3kAutomated safety check: PassMIT

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • Official

    Drives a real browser from the command line with playwright-cli to open pages, interact, mock requests, save state and work with Playwright tests.

    5.3k GitHub starsUsed in 23 repos~2.8k tokens
    Testing & QAAuto-check passed
  • Writes a Playwright end-to-end test from a prompt, runs it against a live Appsmith deployment and retries with fixes up to three times until it passes.

    41k GitHub stars~2.9k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Guides changes and reviews of the Cucumber and Playwright end-to-end suite under `e2e/`: feature files, step definitions, support code, tags, locators and assertions.

    158k GitHub stars~682 tokensUpdated today
    Testing & QAAuto-check passed
  • E2E Testing

    langflow-ai/langflow

    Write and review Playwright E2E tests for Langflow. An agent skill from langflow-ai/langflow.

    156k GitHub stars~3.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Handsontable Playwright E2E Tests

    handsontable/handsontable

    Guides writing and changing Playwright end-to-end tests for Handsontable using page objects, data-testid hooks and deterministic waits.

    22k GitHub stars~1.7k tokensUpdated today
    Testing & QAAuto-check passed

More from exelearning/exelearning

All 17 skills in this repo
  • Frontend Module

    exelearning/exelearning

    Change vanilla JavaScript UI modules in public/app/, including DOM state, events and localization.

    145 GitHub stars~867 tokensUpdated today
    Auto-check passed
  • I18n

    exelearning/exelearning

    Add or change source-level localized strings using (), c() or the Nunjucks trans filter; not catalog extraction.

    145 GitHub stars~812 tokensUpdated today
    Auto-check passed
  • Idevice

    exelearning/exelearning

    Create or modify an eXeLearning iDevice, including edition/export data, legacy compatibility, assets, TypeScript bundles and teardown.

    145 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Verify Change

    exelearning/exelearning

    Choose and run the appropriate eXeLearning checks for a diff, including the final code gates or guidance-only validation.

    145 GitHub stars~676 tokensUpdated today
    Auto-check passed
  • Websocket Yjs

    exelearning/exelearning

    Change eXeLearning shared document mutations, WebSocket rooms, snapshots, reconnects or concurrent editing behavior.

    145 GitHub stars~759 tokensUpdated today
    Auto-check passed
  • API V1

    exelearning/exelearning

    Add or change external REST API v1 endpoints and their documented authentication/authorization contracts.

    145 GitHub stars~427 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about E2E Test

What does E2E Test do?

Write or debug repository Playwright specs, including isolated projects, preview frames and multi-user fixtures. E2E Test is an agent skill from exelearning/exelearning. Write or debug repository Playwright specs, including isolated projects, preview frames and multi-user fixtures.

When should I use E2E Test?

E2E Test fits situations like: tasks that involve End-to-end testing; tasks that involve Browser testing.

How do I install E2E Test in Claude Code?

Run `npx skills add exelearning/exelearning --skill e2e-test -a claude-code`. Or copy the skill folder (.agents/skills/e2e-test in exelearning/exelearning) into .claude/skills/e2e-test in your project. Claude Code loads it when a task matches its description.

How do I install E2E Test in Codex?

Run `npx skills add exelearning/exelearning --skill e2e-test -a codex`. Or copy the skill folder (.agents/skills/e2e-test in exelearning/exelearning) into .agents/skills/e2e-test in your project. Codex loads it when a task matches its description.

Can I use E2E Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add exelearning/exelearning --skill e2e-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/e2e-test, .gemini/skills/e2e-test, .github/skills/e2e-test and .opencode/skills/e2e-test in your project.

What does E2E Test need to run?

Going by SKILL.md and its folder, E2E Test needs the command-line tools its instructions call (make and bun).

Does E2E Test access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is E2E Test safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does E2E Test use?

E2E Test is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does E2E Test use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to E2E Test?

Skills that share tags, products or a category with E2E Test: Web Application Testing (anthropics/skills, 180k stars), playwright-cli Browser Automation (github/gh-aw, 5.3k stars), Write and Verify Playwright Tests (appsmithorg/appsmith, 41k stars) and Cucumber and Playwright E2E Tests (langgenius/dify, 158k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains E2E Test?

exelearning (a GitHub organization) maintains it in exelearning/exelearning, which has 145 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: exelearning/exelearning on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.