Download for macOS
Skill

fix-e2e-tests

@automattic Updated 2026-08-31

Given a wp-calypso PR number, identify the failing E2E test(s) in that PR's CI run so they can be fixed. Use when asked to investigate or fix a failing E2E test on a specific PR.

es2015es6es6-javascriptjavascriptnodejsreactreduxwordpress

Install

git clone https://github.com/Automattic/wp-calypso /tmp/wp-calypso && ln -s /tmp/wp-calypso/.claude/skills/fix-e2e-tests ~/.claude/skills/fix-e2e-tests

From README

Fix E2E Tests Given a wp-calypso PR number, this skill identifies the failing E2E test(s) in that PR's CI run, asks the Playwright Test Healer agent to generate a fix, and opens a fix PR back against the original PR's branch so CI validates the repair. Before touching anything else, the skill verifies that the two required tools are working: the GitHub CLI (used to read PR metadata and checks) and a TeamCity access token (used to fetch which individual tests failed, since GitHub's commit-status description only says "build failed"). If either isn't set up, the skill walks the user through configuring it. Before each step, tell the user in one short sentence what you're about to do and why, so they aren't surprised by a Bash call or a follow-up request. Step 1: Verify GitHub CLI access The skill uses gh (the GitHub CLI command, from ) to read PR metadata and check runs.