← ClaudeAtlas

fix-e2e-failureslisted

Investigate and fix E2E test failures from the latest test report. Use this skill when the user mentions E2E failures, broken tests, test report errors, failing screenshots, baseline mismatches, updating baselines, or wants to fix a failing E2E scenario. Also use when someone says "fix the test", "deal with the test failure", "check the e2e report", "update baselines", or references a PR comment about E2E failures. Do NOT use this for writing new E2E tests (use e2e-testing) or for manual debugging (use e2e-manual-debugging).
gpambrozio/Gallager · ★ 3 · Testing & QA · score 69
Install: claude install-skill gpambrozio/Gallager
# Fix E2E Test Failures This skill handles E2E test failures reported in the ClaudeSpyTestResults repository. It finds the latest failing report, identifies what broke, and guides the fix. ## How failures are reported Screenshot mismatches are **non-fatal** in the orchestrator — after a failed screenshot comparison the scenario keeps running, so a single scenario can produce **multiple failed steps**. Only a non-screenshot error (element not found, timeout, assertion failure, etc.) stops the scenario early. This means each failing scenario may have: - One or more screenshot mismatches (scenario ran to completion), OR - Zero or more screenshot mismatches followed by a fatal functional error (scenario stopped at that point). Handle every failed step — don't stop at the first one. ## Step 1: Find Failures Run the bundled script to pull latest results and extract failures in one step: ```bash ${CLAUDE_SKILL_DIR}/scripts/find_failures.py --results-dir ../ClaudeSpyTestResults ``` **Optional PR-number argument:** If the user invoked the skill with a PR number (e.g. `/fix-e2e-failures 444`), pass it through with `--pr` so the **newest run associated with that PR** is analyzed instead of the most recent failing run across all PRs: ```bash ${CLAUDE_SKILL_DIR}/scripts/find_failures.py --results-dir ../ClaudeSpyTestResults --pr 444 ``` The number matches the `prNumber` field on entries in `ClaudeSpyTestResults/results/index.json`. If no argument is provided, the script default