Create, record, edit, replay, or repair reusable Argent e2e test YAML files. Use when the user asks to record, replay, or run an e2e test or repeatable path, set up profiling/A-B comparison, or before repeating 3+ interactions. For one-off UI checks, writing QA regression tests, or screen video, use argent-test-ui-flow, argent-qa-e2e, or argent-screen-recording.
Capabilities
Stable selectors
A stable selector is fixed by app code and survives account, data…
YAML-only selector scopes
During polish, use within, after, and next to disambiguate repeated…
Proactive recording
Before repeating three or more interactions, tell the user and start a…
Repair
When replay fails, follow Reliability and recovery
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.3
Create an Argent e2e test
An Argent e2e test is a replayable sequence in .argent/e2e/<name>.yaml (.argent/flows/ is still read).
For a saved QA test case, ticket, or acceptance criterion, load argent-qa-e2e first. It adds deterministic setup, acceptance evidence, and two-pass proof.
Read the relevant reference
- Before creating or changing an e2e test, read Live authoring completely.
- When polishing, composing, or manually reviewing YAML, read E2E YAML. For Vega, read its platform limits before recording remote or keyboard tools.
- After you edit the YAML by hand, run
argent e2e check <file>, with the--varoptions the run gets. It finds the problems that makeargent e2e runrefuse the test before the first step, without a device. - E2E tests run on physical iPhones (an iOS
list-devicesentry with kind"device"), but replay never auto-binds one, even when no simulator is booted: pass the phone's udid asdevice(CLI--device), and only aconnectedphone can run.pinch/rotatesteps need the app drawn in portrait. On hardware the runner tree is thedescribetree: same ids and roles, no UIView hierarchy. Seeargent-ios-device-interactfor the hardware contract. - On capture warnings, raw coordinates, unavailable trees, mistimed transitions, overlays, or replay failures, read Reliability and recovery.
Non-negotiable rules
- Record the first walkthrough. Start the recorder before the first launch or in-app action. Do not reconstruct a rehearsed path.
- Record checks when their states appear. Record
await-ui-elementlive, then convert it during polish. An echo records intent or diagnostic context, not app behavior or a verdict. A screenshot is human evidence, not an executable verdict. For absence, record the same selector asvisible, perform the removing action, then record it ashidden. - Use semantic targets. Prefer a strict id, then stable text or an accessibility label. Use
scroll-tofor off-screen elements. Resolve every raw-point warning immediately through the coordinate fallback gate. - Prove every screen change. Record a destination-only identity check. During polish, follow it with
await: { idle: true }. Stillness does not prove identity, andidlecan pass with a warning. - Polish only executed behavior. Convert recorded steps without changing their meaning. Record any missing action or structural check live. The only unrecorded insertions are a planned
snapshot:, a navigationawait: { idle: true }, and the documented Chromium packaginglaunch:. - Use scripts only when the user requests them. Read E2E YAML: Local scripts, then record each script with
e2e-add-script. - Replay the final YAML end to end. A normal e2e test needs one uninterrupted full pass.
argent-qa-e2erequires two consecutive passes.
Stable selectors
A stable selector is fixed by app code and survives account, data, time, count, order, and every locale and environment the e2e test supports. Prefer ids such as settings-screen. Do not gate on values such as Today, Item 4, usernames, counters, or timestamps.
YAML-only selector scopes
During polish, use within, after, and next to disambiguate repeated elements. Read E2E YAML: Relational scopes for their frame-based semantics and failure cases.
Workflow
-
Choose the e2e test type:
- standalone: the test starts its own app with a leading
launch:. See which setup steps can precede launch. - fragment: there is no leading launch. Declare a precise
executionPrerequisite.
When a test needs the state that an earlier test leaves, put both in a suite.
- standalone: the test starts its own app with a leading
-
Follow Live authoring: start, record one verified step at a time, finish, polish, audit, and replay.
-
Report the file, replay command, result, prerequisite or side effects, and every coordinate or raw-gesture exception.
Proactive recording
Before repeating three or more interactions, tell the user and start a recording. Record that run and replay it afterward. A completed path cannot be recorded retroactively.
Repair
When replay fails, follow Reliability and recovery. Inspect the first divergence, correct the smallest justified unit, audit, and replay the full e2e test. Stop after two unsuccessful correction cycles. Never weaken a requested check to obtain a pass.
Explore more skills
Browse all- Argent QA E2EWrite repeatable QA regression e2e tests from test cases, tickets, or acceptance criteria (iOS, Android, Chromium, Mac…
- Argent Test UI FlowAutonomously verify one-off mobile UI flows (iOS/Android) with interact-screenshot-verify loops. Use when testing…
- Argent Settings PermissionsGrant, deny, or reset app runtime permissions out-of-band on an iOS simulator or Android device via…
- Argent Device InteractDrive iOS, Android, or Chromium apps with Argent MCP tools. Use when tapping, swiping, typing, launching apps, waiting…
- Argent Screen RecordingRecord a screen video with Argent on iOS, Android, or Mac apps. Use when asked to capture a video clip of a flow,…
- Argent React Native OptimizationEntry-point for React Native performance optimization; profiles first via `argent-react-native-profiler`. Use when the…
Security
Reviews (0)
More from argent
View source →Frequently asked questions about argent-create-e2e
What does the argent-create-e2e skill do?
Create, record, edit, replay, or repair reusable Argent e2e test YAML files. Use when the user asks to record, replay, or run an e2e test or repeatable path, set up profiling/A-B comparison, or before repeating 3+ interactions. For one-off UI checks, writing QA regression tests, or screen video, use argent-test-ui-flow, argent-qa-e2e, or argent-screen-recording. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the argent-create-e2e skill?
Run `npx @skills-hub-ai/cli install argent-create-e2e` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/argent-create-e2e/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does argent-create-e2e work with?
argent-create-e2e runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the argent-create-e2e skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use argent-create-e2e after installing it?
In Claude Code, type `/argent-create-e2e` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the argent-create-e2e skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/argent-create-e2e)<a href="https://skills-hub.ai/skills/argent-create-e2e"><img src="https://skills-hub.ai/api/badges/skill/argent-create-e2e" alt="Install on Skills Hub"></a>More options in the badge docs.