end-to-end-testing

end-to-end-testing is a skill for Claude Code, Codex from kid-sid/codex-spellbook. It costs 45 tokens per session (690 once invoked), scanned A, original, MIT.

End-to-end testing checks a complete user journey through the interface, application services, and database in a production-like environment. Browser automation acts as a user to test flows such as signing up or checking out.

In plain words
What is it for?
Use it to automate user journeys, choose stable selectors, test different browsers and screen sizes, check visual changes, simulate network problems, and verify analytics or tracking behavior.
Why use it?
It finds failures between parts of the system that unit or component tests may miss, while providing guidance for reducing flaky and slow browser tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to automate user journeys, choose stable selectors, test different browsers and screen sizes, check visual changes, simulate network problems, and verify analytics or tracking behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kid-sid/codex-spellbook/end-to-end-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kid-sid/codex-spellbook --skill end-to-end-testing
Clone the repo
git clone --depth 1 https://github.com/kid-sid/codex-spellbook

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for end-to-end-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/kid-sid/codex-spellbook/end-to-end-testing/github.svg)](https://agentmods.dev/skills/kid-sid/codex-spellbook/end-to-end-testing)
Your own site
<a href="https://agentmods.dev/skills/kid-sid/codex-spellbook/end-to-end-testing"><img src="https://agentmods.dev/badge/skills/kid-sid/codex-spellbook/end-to-end-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for end-to-end-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/kid-sid/codex-spellbook/end-to-end-testing"><img src="https://agentmods.dev/badge/skills/kid-sid/codex-spellbook/end-to-end-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 690 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00690
Opus 5.5 $0.00018 $0.00276
Sonnet 5.5 $0.00009 $0.00138
Haiku 4.5 $0.00005 $0.00069

Measured 3mo ago against content hash 4326724eafb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

end-to-end-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/end-to-end-testing/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

End-to-End Testing

Validate complete user workflows across the entire stack, ensuring that UI components, APIs, and databases work together in a production-like environment.

When to Activate

  • Automate a critical user journey (Signup, Checkout, etc.)
  • Resolve flaky browser tests or slow CI cycles
  • Implement visual regression or screenshot testing
  • Choose a selector strategy (ARIA vs CSS vs Test ID)
  • Test cross-browser or mobile responsiveness
  • Simulate network failures or latency in the UI
  • Verify analytics or external tracking pixels

Selector Strategy

Type Example Stability Recommendation
User-facing (ARIA) getByRole("button", { name: "Submit" }) High Primary: Tests what the user sees
Data attribute getByTestId("submit-btn") Medium Secondary: Use when ARIA is ambiguous
CSS Class/ID locator(".btn-primary") Low Avoid: Highly coupled to styling

Execution Strategy

Concern Strategy
Test Data Use a dedicated setup API or direct DB seed before each run
State Isolation Clean cookies, localStorage, and indexedDB between tests
Waiting Use auto-waiting or "Wait for State" (loading spinner gone) over hard sleeps

BAD

// Flaky and coupled to implementation
await page.click('.login-submit');
await page.waitForTimeout(5000);
expect(await page.url()).toContain('/dashboard');

GOOD

// Stable and user-centric
const submitBtn = page.getByRole('button', { name: /log in/i });
await submitBtn.click();
await expect(page).toHaveURL(/\/dashboard/);
await expect(page.getByText(/welcome back/i)).toBeVisible();

Flakiness Prevention

Risk Solution
Animation lag Disable CSS animations in the test environment
Third-party scripts Block or stub chat widgets, ads, and telemetry
Race conditions Assert state changes (e.g. "button is hidden") before next step

Checklist

  • Selectors use ARIA roles or Test IDs (no CSS classes)
  • Tests assertions wait for specific UI state changes (not time)
  • Every test starts from a clean state (cookies, storage, data)
  • Core user journeys (Happy Paths) are covered first
  • Error states and validation messages are verified
  • Network requests are monitored or stubbed to prevent external flake
  • Screen sizes (mobile vs desktop) are explicitly set
  • Heavy animations are disabled to speed up execution
  • Artifacts (trace, video, screenshots) are captured on failure
  • Test data is isolated to prevent parallel run conflicts
  • Parallelism is enabled and tuned for CI resources
  • Senseless "Wait for X seconds" are replaced with "Wait for Locator"

Read the full file on GitHub · 78 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 78 lines · 45 tokens per session scan A 4326724eafb4

Subscribe to this mod's changes

end-to-end-testing is a skill published in the GitHub repository kid-sid/codex-spellbook (22 stars, last pushed 6mo ago), licensed MIT. It adds 45 tokens to every session and 690 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

end-to-end-testing compared with skills from other repositories

end-to-end-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
end-to-end-testingkid-sid/codex-spellbookSkill226mo agoMITA45Claude Code, Codex
cua-driverdavidondrej/skillsSkill4.4k5d agoMITA68Claude Code, Codex
create-verification-skillget-bb/bbSkill6.3ktodayMITA57Claude Code, Codex
webapp-testinganthropics/skillsSkill203ktodaynoneA35Claude Code
codex-computer-usedavidondrej/skillsSkill4.4k5d agoMITA53Claude Code, Codex
test-electron-appPostHog/posthog-fossSkill734todayMITA112Claude Code
smoke-testSkyvern-AI/skyvernSkill24ktodayAGPL-3.0A50Claude Code, Codex