
E2e Testing Automation
This helps Claude write E2E tests that actually simulate user behavior across your full stack. You get working examples for Playwright, Cypress, and Selenium with proper patterns like Page Object Model, stable selectors using data-testid attributes, and explicit waits instead of sleeps. Use it when you need to test critical flows like checkout or signup, validate multi-step workflows, or catch regressions from UI changes. The practical advice on what not to do is honestly more valuable than most E2E guides: skip brittle selectors, don't share state between tests, and stop trying to E2E test every edge case when unit tests would work fine.
- skills.sh installs
- 695
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill e2e-testing-automation --agent claude-codeInstalls into .claude/skills of the current project.
Files
E2E Testing Automation
Table of Contents
Overview
End-to-end (E2E) testing validates complete user workflows from the UI through all backend systems, ensuring the entire application stack works together correctly from a user's perspective. E2E tests simulate real user interactions with browsers, handling authentication, navigation, form submissions, and validating results.
When to Use
- Testing critical user journeys (signup, checkout, login)
- Validating multi-step workflows
- Testing across different browsers and devices
- Regression testing for UI changes
- Verifying frontend-backend integration
- Testing with real user interactions (clicks, typing, scrolling)
- Smoke testing deployments
Quick Start
Minimal working example:
// tests/e2e/checkout.spec.ts
import { test, expect, Page } from "@playwright/test";
test.describe("E-commerce Checkout Flow", () => {
let page: Page;
test.beforeEach(async ({ page: p }) => {
page = p;
await page.goto("/");
});
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Testing & QA, DevOps & CI/CD, AI & Agent Building, Automation & Workflows
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- Business Case Development683
- React Component Architecture683
- Docker Containerization681
- Agile Sprint Planning677
- Log Analysis674
- Security Compliance Audit673
- Project Estimation670
- Gitlab Cicd Pipeline669
- Websocket Implementation668
- Requirements Gathering663
- Image Optimization662
- Ruby Rails Application660
- Api Rate Limiting647
- Internationalization I18n642
- Information Architecture641
- Backup Disaster Recovery626
- Github Actions Workflow626
- Color Accessibility624
- Fastapi Development624
- Static Code Analysis622
- Unit Testing Framework622
- Aws Lambda Functions619
- User Research Analysis618
- Vulnerability Scanning617