SkillsLib.ai

E2E

Classify e2e test failures and apply targeted fixes using proven taxonomy

4.7(54 reviews)
500+ downloads
Updated Sep 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

Powertrain Production Diagnostics & Root Cause Analysis
$35
Powertrain4.0(32)
Powertrain Production Diagnostics & Root Cause Analysis

You can rapidly map warranty claims, field failures, and quality escapes to specific production processes, equipment conditions, or supplier issues across engine, transmission, and drivetrain systems. By correlating defect clusters with build dates, shift schedules, component batches, and process parameters, you'll isolate root causes and develop data-driven corrective actions that prevent recurrence rather than treating symptoms.

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.

Supplier Quality Incident Root Cause Analyzer
$40
Supplier Quality Incident Root Cause Analyzer

You can conduct structured root cause analyses on supplier quality incidents using automotive industry standards (AIAG, IATF, VDA). The skill guides you through incident assessment, multi-level RCA using decision trees, and generates detailed corrective action plans (CAPs) with effectiveness verification. You'll transform raw incident data into compliance-ready documentation that addresses systemic issues, reduces repeat failures, and supports supplier performance benchmarking.

Emissions Compliance Analyzer for Homologation Engineers
$35
Emissions4.3(33)
Emissions Compliance Analyzer for Homologation Engineers

You can upload emissions test data (WLTP, RDE, OBD, dyno bench results) and receive instant compliance gap analysis against Euro 6, EPA Tier 3, and China VI standards. The skill traces non-compliance to specific root causes—whether calibration, aftertreatment hardware, or OBD strategy—and generates targeted troubleshooting sequences with quantified remediation pathways and supporting calculations that satisfy notified body audit requirements.

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.

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.

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