Skip to content
Development
Command

/run-e2e

Run end-to-end tests against the application using Playwright or Cypress.

From plugin
rohitg00-claude-code-toolkit
2.8k199 skills138 agents199 commands
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

Command definition

run-e2e.md

/run-e2e - Execute End-to-End Tests

Run end-to-end tests against the application using Playwright or Cypress.

Steps

1. Detect the e2e framework in use (Playwright, Cypress, or Selenium) by checking package.json and config files 2. Verify the test configuration file exists (playwright.config.ts, cypress.config.js, etc.) 3. Check if the application server is running; if not, identify the start command 4. List all e2e test files matching the pattern `**/*.e2e.{ts,js}` or `**/*.spec.{ts,js}` in the e2e/test directory 5. If a specific test file or pattern is provided, filter to those tests only 6. Run the test suite with verbose output and capture results 7. Parse test output for pass/fail counts and timing information 8. For any failing tests, extract the error message, screenshot path, and stack trace 9. Present a summary table: total tests, passed, failed, skipped, duration 10. If failures exist, suggest fixes based on error patterns (timeout, selector, assertion)

Rules

  • Always run tests in headless mode unless the user explicitly requests headed mode
  • Set a default timeout of 30 seconds per test unless configured otherwise
  • Capture screenshots on failure automatically
  • Do not modify test files without explicit permission
  • Report flaky tests if a test passes on retry but failed initially
  • Ensure the base URL matches the running application port
  • Clean up any test artifacts older than 7 days
Read more
@rohitg00
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

2.8k40 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of rohitg00/awesome-claude-code-toolkit on GitHub, a chart by star-history.com

Other commands on rohitg00-claude-code-toolkit.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command