Basic information

Repository
openclaw
Skill
e2e-gen

About e2e-gen

Generate Playwright/Cypress E2E tests from user flows

e2e-gen is an agent skill listed in the AddMCP.net directory, published by openclaw. Source code is hosted on github.com.

Overview

What is e2e-gen?


name: e2e-gen description: Generate Playwright/Cypress E2E tests from user flows


E2E Test Generator

Describe user flows, get Playwright or Cypress tests. No more writing login tests by hand.

Quick Start

npx ai-e2e-gen "User signs up, verifies email, completes onboarding"

What It Does

  • Converts flow descriptions to E2E tests
  • Generates Playwright or Cypress code
  • Includes proper waits and assertions
  • Adds data-testid selectors

Usage Examples

# Generate Playwright test
npx ai-e2e-gen "User adds item to cart and checks out"

# Generate Cypress test
npx ai-e2e-gen "Admin creates new user" --framework cypress

# From existing page
npx ai-e2e-gen --url http://localhost:3000/dashboard

Output Example

test('user completes checkout', async ({ page }) => {
  await page.goto('/products');
  await page.click('[data-testid="add-to-cart"]');
  await page.click('[data-testid="checkout"]');
  await expect(page.locator('.success')).toBeVisible();
});

Requirements

Node.js 18+. OPENAI_API_KEY required.

License

MIT. Free forever.


Built by LXGIC Studios

Videos

Tutorials, guides, and showcases related to e2e-gen. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬