SkillsLib.ai

E2E

Classify e2e test failures and apply targeted fixes using proven taxonomy

4.7(54 reviews)
500+ downloads
Updated Oct 2026
Verified SafeSecurity VerifiedThis skill was analyzed by our AI security scanner for harmful content including data exfiltration, system manipulation, credential theft, and prompt injection. No threats were detected.

What You Can Do

You can quickly categorize e2e test failures using a proven taxonomy (flaky, outdated, or bug), then apply the correct fix strategy for each category. The skill ensures you never conflate test infrastructure issues with implementation problems, maintains clean boundaries between test and source code, and validates fixes against specifications before modifying application logic.

Features

Failure taxonomy classification

instantly categorize failures as flaky (timing/selector issues), outdated (test doesn't match current behavior), or bugs (code doesn't match spec)

Flaky-specific fixes

replace arbitrary delays with auto-waiting locators, fix race conditions with web-first assertions, and correct selector brittleness using semantic queries

Outdated test fixes

update assertions and selectors to match current correct behavior without touching source code

Bug-backed remediation

only classify as bugs when spec exists; fix source code with unit tests first, never modify e2e assertions to match buggy code

Source code boundary enforcement

prevents accidental API contract changes and enforces test/implementation separation

Unverified failure reporting

flags failures without specification backing for stakeholder decision-making

Spec-driven validation

quotes relevant specification sections before applying any implementation fixes

Example Output

Example 1: Flaky Failure

Input: Test intermittently fails with element not found on login form

Classification: Flaky — stale selector / race condition

Fix:

code
// Before: brittle selector + arbitrary delay
await page.waitForTimeout(500);
const button = await page.$('.login-btn');

// After: semantic locator + web-first assertion
const button = page.getByRole('button', { name: /sign in/i });
await expect(button).toBeVisible();

Example 2: Outdated Test

Input: Test fails asserting error message on empty email field

Classification: Outdated — spec changed, email is now optional

Fix: Update test assertion to match current (correct) behavior

code
// Before: expects error
await expect(page.getByText(/email required/i)).toBeVisible();

// After: reflects new spec (email optional)
await expect(page.getByText(/email required/i)).not.toBeVisible();

Example 3: Bug with Spec

Input: Test consistently fails; payment confirms before processing

Classification: Bug — implementation violates payment spec § 4.2

Fix: Correct source code to match spec, add unit tests first

code
// Per Spec § 4.2: "confirmation must occur AFTER processing"
// Fix in payment.js, then verify with unit test before e2e
test('payment confirmation waits for processor response', () => { ... });

What's Included

  • SKILL.md: complete failure taxonomy and fix rules by category
  • Flaky Fixes Checklist: selector strategies, timing patterns, and anti-patterns
  • Bug vs. Outdated Decision Tree: flowchart for classification when ambiguous
  • Spec Validation Template: format for quoting spec sections before bug fixes
  • Source Code Boundary Guardrails: rules preventing test/implementation bleed

Who It's For

  • QA Engineers — diagnose and fix e2e test failures systematically without guesswork
  • Frontend Developers — apply test fixes that preserve code boundaries and specification integrity
  • Test Automation Engineers — maintain flaky test prevention and classification consistency across suites
  • Engineering Leads — enforce strict test/implementation separation and spec-driven bug fixes in code review

Best For

  • Debugging intermittent e2e test failures and flaky assertions
  • Updating tests after intentional feature changes without touching source code
  • Validating that bug fixes match specification before implementation
  • Preventing accidental API contract changes during e2e debugging
  • Classifying ambiguous test failures for stakeholder action

You might also like

Pict Test Designer
$30
Pict Test Designer

You can systematically design test cases for any feature or system by analyzing requirements or code to extract test parameters, values, and business constraints. The skill generates a PICT model, executes pairwise testing logic to minimize test case count while maximizing coverage, and delivers a formatted test matrix with expected results—reducing manual test design effort while ensuring comprehensive scenario coverage.

Homologation Test Protocol Analyzer
$35
Testing4.1(35)
Homologation Test Protocol Analyzer

You can systematically decode regulatory test protocols and translate them into actionable homologation test plans that map requirements to vehicle specifications, identify test facility constraints, and flag compliance risks early. This skill bridges the gap between regulatory language and operational test execution, reducing the time homologation engineers spend interpreting documentation while ensuring comprehensive coverage across multiple standards and jurisdictions.

Warranty Claim Root Cause Analyzer
$50
Warranty Claim Root Cause Analyzer

You can transform raw warranty claim data into actionable root cause analyses that prevent recurrence and protect customer satisfaction. This skill helps you correlate technical data with customer complaints, identify failure patterns across vehicle populations, and develop targeted corrective actions—accelerating investigation timelines while maintaining analytical rigor for effective quality decisions.

Warranty Claim Root Cause Analyzer
$30
Warranty3.9(28)
Warranty Claim Root Cause Analyzer

You can systematically analyze warranty claim datasets to uncover systemic failure patterns rather than treating claims as isolated incidents. The skill calculates financial impact, identifies high-risk components or assemblies, and generates prioritized corrective action recommendations backed by statistical evidence. You'll move from reactive claim handling to proactive quality improvement with data-driven arguments for design changes, process modifications, or supplier interventions.

Tdd
$35
Tdd

You'll follow the strict TDD workflow: write a failing test that defines expected behavior, verify it fails, write minimal production code to pass the test, then refactor for quality. This approach ensures complete test coverage, catches bugs early, and produces well-designed code backed by comprehensive test suites. Claude guides you through each phase with examples and enforces TDD principles to prevent shortcuts.

Regional Certification Regulatory Gap Analyzer
$45
Regional Certification Regulatory Gap Analyzer

You can simultaneously analyze regulatory requirements across 3+ automotive certification regions (EU, US EPA/NHTSA, China CAAM, India SIAM, etc.) to pinpoint conflicting standards, missing compliance pathways, and cost-effective remediation strategies. This skill helps you prioritize engineering changes by compliance impact, document regulatory equivalencies for submission justification, and create region-specific certification roadmaps with realistic timelines—all without re-engineering your entire platform for every market.

APQP/PPAP Documentation & Launch Assistant
$35
APQP/PPAP3.8(39)
APQP/PPAP Documentation & Launch Assistant

Create comprehensive APQP roadmaps, develop multi-phase control plans aligned to production readiness gates, and generate PPAP submission packages that satisfy OEM requirements. You can manage supplier quality data, validate launch documentation against IATF 16949 and AIAG guidelines, and document cross-functional decisions to keep product programs on schedule while maintaining full traceability and risk mitigation.

Paint Line Efficiency Optimizer
$40
Paint3.5(32)
Paint Line Efficiency Optimizer

You can pinpoint exact bottlenecks in your paint line—whether from spray booth scheduling conflicts, cure time dependencies, or spray gun performance issues—using structured diagnostic methods. This skill guides you through analyzing utilization logs, defect reports, and cycle time data to surface root causes, then builds actionable improvement plans with specific targets for throughput, quality, and cost reduction.

$40.00