testing-e2e

Community

Build resilient E2E tests, ensure flawless user journeys.

Authoragdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

End-to-end (E2E) tests are critical but often flaky and hard to maintain due to UI changes and complex system interactions. This Skill provides expert guidance for writing resilient E2E tests that reliably simulate user behavior, reducing test failures and maintenance overhead.

Core Features & Use Cases

  • Self-Contained Tests: Enforces isolated test states and dedicated data for reliable execution, preventing inter-test dependencies.
  • User-Facing Locators: Guides on using ARIA-based selectors (getByRole, getByLabel) for UI resilience, making tests less prone to breaking from cosmetic changes.
  • Smart Waiting Strategies: Eliminates arbitrary timeouts, leveraging auto-retriable assertions for stability and faster test execution.
  • Use Case: Refactor an existing E2E test suite to replace fragile CSS selectors with resilient ARIA-based locators and implement semantic helper functions for clearer, more maintainable user journeys.

Quick Start

Review the attached login.e2e.test.ts file and refactor it to use only getByRole or getByLabel selectors, removing any CSS or XPath locators.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: testing-e2e
Download link: https://github.com/agdev/claude-code/archive/main.zip#testing-e2e

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.