e2e-flakiness-patterns

Analyze flaky E2E and unit test failure patterns for race conditions and timing issues.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/abretonc7s/metamask-skills --skill e2e-flakiness-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-flakiness-patterns
Source: https://github.com/abretonc7s/metamask-skills/tree/main/domains/testing/skills/e2e-flakiness-patterns
Command: npx skills add https://github.com/abretonc7s/metamask-skills --skill e2e-flakiness-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps identify common patterns and anti-patterns that lead to flaky or unreliable end-to-end and unit tests, improving test stability and developer confidence.

Core Features & Use Cases

  • Flakiness Diagnostics: Provides a comprehensive catalog of categories and specific anti-patterns causing test failures.
  • Guidance for Reliable Tests: Offers best practices to mitigate race conditions, improper mocks, UI timing issues, and window handling problems.
  • Use Case: When encountering intermittent test failures in CI, use this Skill to analyze the root causes and apply recommended solutions to stabilize your testing suite.

Quick Start

Query this Skill with descriptions of flaky behaviors to get targeted recommendations on fixing test reliability issues.

Frequently Asked Questions about e2e-flakiness-patterns

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

FAQPage Schema
Why does my e2e-testing suite have intermittent test flakiness in CI pipelines?

Intermittent test flakiness in CI pipelines is typically caused by race conditions, timing issues, mock misconfigurations, or window handling errors. Analyzing these specific failure patterns helps identify the root anti-patterns and apply proper testing practices to stabilize your suite.

How do I diagnose race conditions and UI timing issues causing flaky tests?

Diagnose race conditions and UI timing issues by querying this Skill with descriptions of your flaky behaviors. It analyzes testing failure patterns to identify specific anti-patterns and provides targeted recommendations for mitigating improper mocks and timing problems.

What are common e2e-testing anti-patterns that lead to false negatives in unit tests?

Common e2e-testing anti-patterns causing false negatives include improper mock setups, unhandled race conditions, and window handling errors. Identifying and correcting these specific failure patterns improves test resilience and reduces false negatives across your development workflows.

Can I use this to fix CI-debugging failures without external dependencies?

Yes, you can analyze CI-debugging failures without external dependencies. This Skill operates as a standalone reference to diagnose timing issues and mock misconfigurations, guiding proper testing practices and debugging strategies to improve test stability.

What is the best way to stabilize an unreliable test suite affected by window handling errors?

The best way to stabilize an unreliable test suite affected by window handling errors is to analyze the specific failure patterns. This Skill identifies common anti-patterns and offers best practices to mitigate window handling problems and improve overall test reliability.

How do I fix mock misconfigurations that cause intermittent unit test failures?

Fix mock misconfigurations causing intermittent unit test failures by analyzing your flaky behaviors against known anti-patterns. This Skill guides proper testing practices and debugging strategies to correct mock setups and prevent false negatives in your test suite.