e2e-automation

Builds and maintains durable E2E test suites with Playwright and Maestro.

1|1|Updated Jul 6, 2026
One-click install
npx skills add https://github.com/muhammaddadu/ai-skill-collection --skill e2e-automation-muhammaddadu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-automation
Source: https://github.com/muhammaddadu/ai-skill-collection/tree/main/3-delivery/e2e-automation
Command: npx skills add https://github.com/muhammaddadu/ai-skill-collection --skill e2e-automation-muhammaddadu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? End-to-end test suites often become slow, flaky, and untrusted, causing teams to ignore failures or abandon the suite entirely. This Skill provides a disciplined workflow for building an E2E suite that stays green for the right reasons: stable selectors, owned test data, deliberate CI gating, and an enforced flake policy. ## Core Features & Use Cases - Tool routing with deep references: Routes web apps to Playwright (TypeScript) and Expo/React Native apps to Maestro (YAML flows), with Detox as an alternative, backed by detailed reference guides for each framework. - Suite architecture and data lifecycle: Enforces page-object patterns, user-visible selectors, per-test data ownership via API seeding, and explicit environment strategy (ephemeral, staging, or prod-dogfood). - CI gating and flake policy: Defines smoke vs full suite gates, parallel sharding, failure artifacts, and a quarantine policy with TTLs and a 2-3% flake-rate budget. - Use Case: A team shipping a checkout feature uses this Skill to automate the critical journeys from their test plan as Playwright tests, wire a smoke subset into the merge gate, and quarantine a flaky test with a named owner and fix deadline. ## Quick Start Use the e2e-automation skill to automate the critical user journeys from my test plan as a Playwright suite with CI smoke gating.

Frequently Asked Questions about e2e-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a reliable E2E test suite with Playwright?

Use page objects wrapping getByRole and getByTestId locators, seed test data via API fixtures instead of UI clicks, and enable trace on first retry for debuggable failures. Run a tagged smoke subset on the merge gate and the full suite on release gates with sharding.

Maestro vs Detox for React Native E2E testing?

Maestro uses plain YAML flows that run against real builds including EAS builds, with no native test code to maintain, making it the default for Expo projects. Choose Detox when you want E2E in the app's JavaScript toolchain or need tight synchronization with app internals.

How do I handle flaky E2E tests in CI?

Quarantine flaky tests the same day by tagging them, removing them from the gate, and opening a ticket with a named owner and a one-to-two-week TTL. Track the weekly flake rate; above 2-3%, stop adding tests and pay down flake debt first.

Can Maestro run E2E tests against EAS builds?

Yes, Maestro runs flows against prebuilt binaries including EAS builds. Build an E2E profile binary with eas build, download the artifact, install it on a simulator or device, and run maestro test against your flows directory.

Should I stub my own backend API in Playwright E2E tests?

No, stubbing your own backend turns the test into a component test that only proves the frontend against your guess. Stub only third-party services you do not own, like payment providers or analytics, and run journeys against a real controllable environment.

When should I not write an E2E test?

Do not use E2E for field validations or logic that unit tests cover better; E2E is reserved for critical user journeys and never-regress invariants. If a test plan lists many E2E cases per feature, push back on the test strategy before automating.