fec-e2e-testing

fec-e2e-testing is a skill for Claude Code, Codex from bovinphang/frontend-craft. It costs 103 tokens per session (752 once invoked), scanned A, original, MIT.

A standard for real-browser end-to-end tests, which test complete user journeys across pages rather than isolated functions. It covers Playwright or Cypress, reusable page objects, test data, continuous-integration reports, screenshots, traces, videos, and unstable tests.

In plain words
What is it for?
Use it to test journeys such as login, purchasing, search, permissions, uploads, payments, and create/read/update/delete actions, including their CI and visual-regression checks.
Why use it?
It finds integration problems that unit tests may miss and leaves evidence when a test fails. It also helps distinguish a real product defect from a flaky test that fails unpredictably.

Skill for Claude CodeCodex

Part of the frontend-craft plugin — 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers shipped together

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.

agentmods
npx agentmods add skills/bovinphang/frontend-craft/fec-e2e-testing
Any agent
npx skills add bovinphang/frontend-craft --skill fec-e2e-testing
Clone the repo
git clone --depth 1 https://github.com/bovinphang/frontend-craft

Made for: Claude Code, Codex.

Or install frontend-craft, the plugin that ships this one along with the rest of its 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers.

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 fec-e2e-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-e2e-testing.svg)](https://agentmods.dev/skills/bovinphang/frontend-craft/fec-e2e-testing)
Your own site
<a href="https://agentmods.dev/skills/bovinphang/frontend-craft/fec-e2e-testing"><img src="https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-e2e-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00103 $0.00752
Opus 5 $0.00051 $0.00376
Sonnet 5 $0.00021 $0.00150
Haiku 4.5 $0.00010 $0.00075

Measured 5d ago against content hash 577baf07e7da, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fec-e2e-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 5d 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.

localized/zh-CN/skills/fec-e2e-testing/SKILL.md · 43 lines

What it actually says

E2E 测试规范

用途

用真实浏览器验证关键用户旅程,发现单元测试无法覆盖的集成风险。

流程

  1. 明确关键旅程:登录、购买、创建、搜索、权限、支付等跨页面流程优先;若只是选择测试层级,先做测试分层规划。
  2. 新项目优先 Playwright;已有 Cypress 项目沿用 Cypress,不为迁移而迁移。
  3. 用 Page Object 或 fixtures 封装登录、页面定位器和共享数据,spec 中避免裸选择器。
  4. 断言用户可见结果,依赖 Locator 自动等待、网络响应或可见状态,不使用固定 sleep。
  5. CI 必须上传 HTML report、截图、trace 或视频;flaky 用例要隔离、复现、标注来源并关联 issue。
  6. 调试失败时先读 trace、console、network 和截图,再改测试;不要把真实产品缺陷误判成 flaky。
  7. 对关键浏览器能力、支付、权限、上传和实时通信流程,记录测试环境、种子数据和清理策略。
  8. 测试数据必须可重复:优先使用 API seed、数据库 fixture、测试账号或 mock 服务;随机数据需带唯一前缀并在 teardown 清理。

详细参考

约束

  • 禁止依赖 sleep / 固定 setTimeout 作为主要同步手段。
  • 不在生产环境跑真实 E2E。
  • 避免在 E2E 中断言组件内部像素级样式;跨页面截图/视觉回归仅覆盖用户旅程中的关键页面状态。
  • 失败必须能靠截图、trace 或视频定位。
  • 组件内部契约测试分流到组件测试 workflow。
  • 不把不稳定等待、随机数据或依赖测试顺序带入 CI。
  • 不把重试次数当作 flaky 治理;重试只能保留证据,根因仍需定位。

预期输出

关键用户旅程有稳定 E2E 覆盖,失败产物可定位问题,CI 中报告和 trace 可下载;flaky 用例有复现命令、隔离策略和后续 issue。

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 43 lines · 103 tokens per session scan A 577baf07e7da

Subscribe to this mod's changes

fec-e2e-testing is a skill published in the GitHub repository bovinphang/frontend-craft (21 stars, last pushed 3d ago), licensed MIT. It adds 103 tokens to every session and 752 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

brand-design

Brand-aware design system generator that acts as Head of Brand. Translates abstract brand language into a mathematically-validated, implementation-ready design system, writes creative-brief.md as the source of truth for all UI/UX in a project, and optionally compiles it to framework tokens (Tailwind v4 @theme, v3…

rfxlamia/pocketto · 146 tokens

deslop

去除中文网文里的 AI 味。当用户说正文"太像AI写的/有翻译腔/太工整/没人味/排比堆砌/读起来假"、嫌"无缘无故的修辞""引用奇怪跨度大/语域不一致"、嫌"重复的修辞句式""同义反复(他非常生气他怒了)""极端词太多(非常/极大)""莫名其妙的陈述句""句号当顿号""段落太对仗工整行数雷同",或要把 AI 稿改得像真人时使用。产出更口语、更有网感、风格统一的网文文字。.

tance-mang/chinese-webnovel-skills · 164 tokens

english

英文网文出海写作(Wattpad / Royal Road / Webnovel / Radish / KDP)。当用户要写英文小说、出海英文平台、把中文故事改写成英文原生(不是翻译腔)、问英文平台怎么写/选哪个、或要去掉英文里的"中国网文翻译腔/AI腔"时使用。按英文网文规则产出像当地作者写的英文。.

tance-mang/chinese-webnovel-skills · 100 tokens

ai-translating-content

Translate text between languages with AI while preserving brand voice and terminology. Use when translating app copy to Spanish, localizing marketing content, multilingual support tickets, i18n with AI, machine translation with brand voice, translating product descriptions, localizing help docs, batch translating i18n…

lebsral/DSPy-Programming-not-prompting-LMs-skills · 97 tokens

localize

Full localization pipeline: scan for hardcoded strings, extract and manage string tables, validate translations, generate translator briefings, run cultural/sensitivity review, manage VO localization, test RTL/platform requirements, enforce string freeze, and report coverage.

IdoCohen560/claude-unity-game-studio · 50 tokens

chinese-documentation

中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 62 tokens