openclaw / e2e-gen
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/e2e-gen && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/1326" && unzip -o skill.zip -d .claude/skills/e2e-gen && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/e2e-gen/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
Generate Playwright/Cypress E2E tests from user flows
0 views
0 installs
Skill Content
---
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
```bash
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
```bash
# 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
```typescript
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**
- GitHub: [github.com/lxgicstudios/ai-e2e-gen](https://github.com/lxgicstudios/ai-e2e-gen)
- Twitter: [@lxgicstudios](https://x.com/lxgicstudios)