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.
npx agentmods add rules/eliornl/rolemule/e2e-testinggit clone --depth 1 https://github.com/eliornl/rolemuleWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.03522 |
| Opus 5 | $0.00000 | $0.01761 |
| Sonnet 5 | $0.00000 | $0.00704 |
| Haiku 4.5 | $0.00000 | $0.00352 |
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.
How it starts
The opening of the file, as written. The whole thing — 352 lines — stays where its author put it; the contents beside it link to each section on GitHub.
E2E Testing Patterns (Playwright)
Test Suite Overview
Tests are split into two tiers based on whether they require a live server.
Tier 1 — Mocked, CI-safe (no server needed)
| File | Covers |
|---|---|
dashboard-pages.spec.ts |
All dashboard tabs, navbar, settings, career tools, sub-tabs |
landing.spec.ts |
All landing sections, navbar, CTAs, footer, a11y, cookie consent |
auth-pages.spec.ts |
Login/register/forgot/reset/verify form structure + validation |
interview-prep.spec.ts |
All states, 4 question sub-tabs, generate/complete/mobile |
profile-setup.spec.ts |
Profile setup (resume + 5 steps: basic → work → education → skills → prefs), field validation, navigation |
application-detail.spec.ts |
10 tabs (Optimize CV + Mock Session + Outreach), sub-tabs, cover letter, company, mobile layout |
onboarding.spec.ts |
Auto-show/suppress, step nav, skip, complete, window.Onboarding API, a11y |
complete-coverage.spec.ts |
Authenticated page coverage: dashboard, settings, career tools, history |
security.spec.ts |
XSS, JWT format, API headers, content security (all mocked) |
extension.spec.ts |
Manifest V3, content script, service worker, popup JS |
error-handling.spec.ts |
401/403/429/500 + mocked network errors, form validation |
smoke.spec.ts |
Critical path (~46 @smoke tests) — this is what CI runs (e2e-smoke in .github/workflows/ci.yml) |
workflow-mocked.spec.ts |
Workflow processing/complete/error states (mocked) |
api-validation.spec.ts |
API response shapes: full/partial/null fields, error bodies, auth tokens |
form-edge-cases.spec.ts |
Unicode, boundary values, special characters, XSS |
auth-complete.spec.ts |
Google OAuth (mocked), email verification, account lockout |
dashboard.spec.ts |
Dashboard nav, mocked settings, tools, history navigation |
journey.spec.ts |
Multi-step user journeys: new app → results, career tools flow, auth redirect |
keyboard-nav.spec.ts |
Tab/Enter/Space/Escape/Backspace/ArrowDown across all pages |
visual-regression.spec.ts |
Page structure verification at desktop/tablet/mobile viewports |
performance.spec.ts |
Page load assertions (mocked) |
accessibility.spec.ts |
ARIA, landmarks, heading hierarchy |
rate-limit.spec.ts |
429 + Retry-After handling: login, registration, career tools, workflow |
file-upload.spec.ts |
Resume/job upload, fixture files, API mock responses, error handling |
websocket.spec.ts |
Workflow processing/failed states, progress polling, network resilience |
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.
- yesterday First seen · 352 lines · 0 tokens per session scan A d3f66e93e008
e2e-testing is a cursor rule published in the GitHub repository eliornl/rolemule (37 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,522 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-30.
Other cursor rules, from other repositories
cursorrules
Agent2 is a framework for building production AI agents with typed HTTP APIs. PydanticAI handles the agent loop. Agent2 handles everything else: API, auth, pause/resume, approvals, provider routing, knowledge search.
product-manager
Holistic product leader who owns the full product lifecycle — from discovery and strategy through roadmap, stakeholder alignment, go-to-market, and outcome measurement. Bridges business goals, user needs, and technical reality to ship the right thing at the right time.
api-tester
Expert API testing specialist focused on comprehensive API validation, performance testing, and quality assurance across all systems and third-party integrations.
developer-advocate
Expert developer advocate specializing in building developer communities, creating compelling technical content, optimizing developer experience (DX), and driving platform adoption through authentic engineering engagement. Bridges product and engineering teams with external developers.
architectural-and-structural-rules
The project follows a layered architecture with clear separation of concerns.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.