E2e Selector Drift Reviewer banner
mattbutlerengineering mattbutlerengineering

E2e Selector Drift Reviewer

Testing & QA community

Description

--- name: e2e-selector-drift-reviewer description: Use this agent when Playwright E2E spec files under `apps/*/e2e/**` (e.g. `apps/hospitality/e2e/*.spec.ts`) are added or modified. Reviews the change for the class of E2E flake that CI (lint/typecheck) cannot catch — strict-mode selector collisions (a `getByText`/`getByRole` that resolves to 2+ nodes), locators coupled to volatile DOM text, and stateful-mock gaps (a test that acts on data a route mock never returns, or a mutation whose success p

Installation

Installs to ~/.claude/agents/mattbutlerengineering-mattbutlerengineering-e2e-selector-drift-reviewer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/mattbutlerengineering/mattbutlerengineering/HEAD/.claude/agents/e2e-selector-drift-reviewer.md -o ~/.claude/agents/mattbutlerengineering-mattbutlerengineering-e2e-selector-drift-reviewer.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository