e2e-testing

A guide for end-to-end testing, which checks complete user flows in a running app on an iPhone or Android simulator.

In plain words
What is it for?
Use it to define test cases, rebuild the Playground app when needed, verify Rozenite, and run checks through the app and React Native DevTools.
Why use it?
It helps catch behavior and visual problems that smaller automated tests may miss, including issues after rebuilding packages or dependencies.

Agent

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 agents/callstackincubator/rozenite/e2e-testing
Clone the repo
git clone --depth 1 https://github.com/callstackincubator/rozenite
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 402 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.00000 $0.00402
Opus 5 $0.00000 $0.00201
Sonnet 5 $0.00000 $0.00080
Haiku 4.5 $0.00000 $0.00040

Measured yesterday against content hash 6c2246532ba0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 yesterday.

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.

docs/agents/e2e-testing.md · 35 lines

What it actually says

End-to-end testing

  • E2E testing is available through apps/playground.

  • Use E2E testing for changes likely to break behavior and for visual changes that cannot be adequately tested otherwise.

  • Define the E2E cases before testing.

  • Spawn a gpt-5.6-luna or haiku sub-agent to run the cases.

  • Pass the sub-agent all instructions in this guide and all change-specific context.

  • Prefer the iPhone simulator; test Android only when crucial.

  • Verify that Rozenite is installed on the running simulator.

  • If Rozenite is installed, assume it is up to date.

  • For unusual issues, assume the app is outdated and rebuild from apps/playground:

    pnpm expo run:ios
    pnpm expo run:android
    
  • After package or dependency changes, rebuild with Turborepo, for example:

    pnpm turbo run build
    
  • Refresh the browser after rebuilding.

  • With the Playground app and Metro running, query Metro's /json/list endpoint.

  • Extract the inspector URL from the response.

  • Replace the ws query parameter in this URL with the extracted inspector URL:

    http://127.0.0.1:8081/rozenite/rn_fusebox.html?ws=%2Finspector%2Fdebug%3Fdevice%3D2ce2ba5f071e81a9efad6f66a9e029fd6aa11ccd%26page%3D1&sources.hide_add_folder=true&unstable_enableNetworkPanel=true&appId=com.callstackcincubator.rozenite
    
  • Open the resulting URL with agent-browser.

  • In React Native DevTools, open the Rozenite tab, select the plugin from the sidebar, and run the E2E cases.

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. yesterday First seen · 35 lines · 0 tokens per session scan A 6c2246532ba0

Subscribe to this mod's changes

e2e-testing is an agent published in the GitHub repository callstackincubator/rozenite (653 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 402 tokens. 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-31.