Cucumber and Playwright E2E Tests
langgenius/dify
Guides changes and reviews of the Cucumber and Playwright end-to-end suite under `e2e/`: feature files, step definitions, support code, tags, locators and assertions.
Run a specific failing E2E test against a deployed RHDH instance to confirm the failure and determine if it is consistent or flaky
$ npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install redhat-developer/rhdh e2e-reproduce-failure --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/redhat-developer/rhdh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/e2e-reproduce-failure .claude/skills/e2e-reproduce-failure && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "e2e-reproduce-failure" agent skill from https://github.com/redhat-developer/rhdh/tree/main/.claude/skills/e2e-reproduce-failure into .claude/skills/e2e-reproduce-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "e2e-reproduce-failure", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/redhat-developer/rhdh/tree/main/.claude/skills/e2e-reproduce-failureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install redhat-developer/rhdh e2e-reproduce-failure --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redhat-developer/rhdh.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/e2e-reproduce-failure .agents/skills/e2e-reproduce-failure && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "e2e-reproduce-failure" agent skill from https://github.com/redhat-developer/rhdh/tree/main/.claude/skills/e2e-reproduce-failure into .agents/skills/e2e-reproduce-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "e2e-reproduce-failure", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install redhat-developer/rhdh e2e-reproduce-failure --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redhat-developer/rhdh.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/e2e-reproduce-failure .cursor/skills/e2e-reproduce-failure && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "e2e-reproduce-failure" agent skill from https://github.com/redhat-developer/rhdh/tree/main/.claude/skills/e2e-reproduce-failure into .cursor/skills/e2e-reproduce-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "e2e-reproduce-failure", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/redhat-developer/rhdh.git --path .claude/skills/e2e-reproduce-failure--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install redhat-developer/rhdh e2e-reproduce-failure --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redhat-developer/rhdh.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/e2e-reproduce-failure .gemini/skills/e2e-reproduce-failure && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "e2e-reproduce-failure" agent skill from https://github.com/redhat-developer/rhdh/tree/main/.claude/skills/e2e-reproduce-failure into .gemini/skills/e2e-reproduce-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "e2e-reproduce-failure", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install redhat-developer/rhdh e2e-reproduce-failureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/redhat-developer/rhdh.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/e2e-reproduce-failure .github/skills/e2e-reproduce-failure && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "e2e-reproduce-failure" agent skill from https://github.com/redhat-developer/rhdh/tree/main/.claude/skills/e2e-reproduce-failure into .github/skills/e2e-reproduce-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "e2e-reproduce-failure", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install redhat-developer/rhdh e2e-reproduce-failure --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redhat-developer/rhdh.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/e2e-reproduce-failure .opencode/skills/e2e-reproduce-failure && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "e2e-reproduce-failure" agent skill from https://github.com/redhat-developer/rhdh/tree/main/.claude/skills/e2e-reproduce-failure into .opencode/skills/e2e-reproduce-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "e2e-reproduce-failure", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
e2e-reproduce-failureRun a specific failing E2E test against a deployed RHDH instance to confirm the failure and determine if it is consistent or flaky
E2E Reproduce Failure is an agent skill from redhat-developer/rhdh. Run a specific failing E2E test against a deployed RHDH instance to confirm the failure and determine if it is consistent or flaky
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering End-to-end testing, Failing and flaky tests and Platform engineering. It works with Playwright. The repository describes itself as: The repo formerly known as janus-idp/backstage-showcase. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit e51f3cf. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
yarnnpxcurlFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
playwright.devFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
K8S_CLUSTER_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
E2E Reproduce Failure loads about 1.9k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 652 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
Generate the `.env` file by passing the `--env` flag to `local-test-setup.sh`:Run: set -a && source .env && set +a && npx playwright test <spec-file> --project=any-test --retries=0 --workers=1 -g '<Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from redhat-developer/rhdh at commit e51f3cf, republished under its Apache-2.0 licence (© redhat-developer). 652 words, ~1,867 tokens.
.claude/skills/e2e-reproduce-failure/SKILL.md (or your agent's skills folder).Run the failing test locally against a deployed RHDH instance to confirm the failure and classify it.
Use this skill after deploying RHDH (via e2e-deploy-rhdh) when you need to verify the test failure reproduces locally before attempting a fix.
source e2e-tests/local-test-setup.sh <showcase|rbac>cd e2e-tests && yarn install && yarn playwright install chromium)# For non-RBAC tests (showcase, showcase-k8s, showcase-operator, etc.)
source e2e-tests/local-test-setup.sh showcase
# For RBAC tests (showcase-rbac, showcase-rbac-k8s, showcase-operator-rbac)
source e2e-tests/local-test-setup.sh rbacThis exports all required environment variables: BASE_URL, K8S_CLUSTER_URL, K8S_CLUSTER_TOKEN, and all Vault secrets.
echo "BASE_URL: $BASE_URL"
curl -sSk "$BASE_URL" -o /dev/null -w "HTTP Status: %{http_code}\n"Always use the Playwright healer agent to run and reproduce failing tests. The healer provides richer diagnostics than plain yarn playwright test — it can debug step-by-step, inspect the live UI, and collect detailed failure context automatically.
Note: The Playwright healer agent is currently supported in OpenCode and Claude Code only. In Cursor or other tools without Playwright agent support, skip the healer initialization and use the "Fallback: Direct Execution" method below instead.
If not already initialized in this session, initialize the healer agent in e2e-tests/:
cd e2e-tests
# For OpenCode
npx playwright init-agents --loop=opencode
# For Claude Code
npx playwright init-agents --loop=claudeSee https://playwright.dev/docs/test-agents for the full list of supported tools and options. The generated files are local tooling — do NOT commit them.
Generate the .env file by passing the --env flag to local-test-setup.sh:
cd e2e-tests
source local-test-setup.sh <showcase|rbac> --envTo regenerate (e.g. after token expiry), re-run the command above.
When running specific test files or test cases, use --project=any-test to avoid running the smoke test dependency. The any-test project matches any spec file without extra overhead:
yarn playwright test <spec-file> --project=any-test --retries=0 --workers=1Invoke the healer agent via the Task tool:
Task: "You are the Playwright Test Healer agent. Run the following test to reproduce a CI failure.
Working directory: <path>/e2e-tests
Test: <spec-file> --project=any-test -g '<test-name>'
Run: set -a && source .env && set +a && npx playwright test <spec-file> --project=any-test --retries=0 --workers=1 -g '<test-name>'
If the test fails, examine the error output, screenshots in test-results/, and error-context.md.
Report: pass/fail, exact error message, what the UI shows at the point of failure."If the healer agent is unavailable (e.g., in Cursor), run tests directly:
cd e2e-tests
yarn playwright test <spec-file> --project=any-test --retries=0 --workers=1Examples:
# A specific spec file
yarn playwright test playwright/e2e/plugins/topology/topology.spec.ts --project=any-test --retries=0 --workers=1
# A specific test by name
yarn playwright test -g "should display topology" --project=any-test --retries=0 --workers=1For visual debugging when manual investigation is needed:
# Headed mode (visible browser)
yarn playwright test <spec-file> --project=any-test --retries=0 --workers=1 --headed
# Debug mode (Playwright Inspector, step-by-step)
yarn playwright test <spec-file> --project=any-test --retries=0 --workers=1 --debugIf the first run passes (doesn't reproduce the failure), run multiple times to check for flakiness:
cd e2e-tests
# Run 10 times and track results
PASS=0; FAIL=0
for i in $(seq 1 10); do
echo "=== Run $i ==="
if yarn playwright test <spec-file> --project=any-test --retries=0 --workers=1 2>&1; then
PASS=$((PASS + 1))
else
FAIL=$((FAIL + 1))
fi
done
echo "Results: $PASS passed, $FAIL failed out of 10 runs"e2e-diagnose-and-fix skille2e-diagnose-and-fix skill, focus on reliability improvementsCI=true to simulate CI conditions (this sets the worker count to 3, matching CI):cd e2e-tests
CI=true yarn playwright test --project=<ci-project> --retries=0<ci-project> with the project from the CI failure (e.g., showcase, showcase-rbac). This runs all tests in that project concurrently, which can expose race conditions and resource contention that single-test runs miss.us-east-2 AWS regionAfter a test failure, traces are saved in e2e-tests/test-results/:
# View a trace
yarn playwright show-trace test-results/<test-path>/trace.zipNever use yarn playwright show-report — it starts a blocking HTTP server that will hang the session. Instead, the HTML report is generated automatically in playwright-report/ after test runs. To view it, open playwright-report/index.html directly in a browser, or use Playwright MCP to navigate to it.
On failure, screenshots and videos are saved in test-results/<test-path>/:
test-failed-1.png — Screenshot at failure pointvideo.webm — Full test recording (if video is enabled)Refer to the e2e-fix-workflow rule for the Playwright project → config map mapping.
© redhat-developer, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/e2e-reproduce-failure of redhat-developer/rhdh.
Open the folder on GitHubat commit e51f3cf
E2E Reproduce Failure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| E2E Reproduce Failure this skillredhat-developer/rhdh | 172 | — | ~1.9k | Automated safety check: Notes | Apache-2.0 | |
| Cucumber and Playwright E2E Testslanggenius/dify | 158k | — | ~682 | Automated safety check: Pass | Custom licence | |
| Debugging Opik E2E Testscomet-ml/opik | 22k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Debug Playwrightquay/quay | 2.8k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Playwright Testingchongdashu/vibejam-starter-pack | 149 | — | ~2.1k | Automated safety check: Pass | None | |
| Playwright Testingchongdashu/vibejam-starter-pack | 149 | — | ~2.2k | Automated safety check: Pass | None |
langgenius/dify
Guides changes and reviews of the Cucumber and Playwright end-to-end suite under `e2e/`: feature files, step definitions, support code, tags, locators and assertions.
comet-ml/opik
Investigates a failed Opik end-to-end test from CI, TestOps or a local run, decides regression versus flake, and proposes a fix without editing tests.
quay/quay
Debug Playwright E2E test failures from GitHub Actions CI runs.
chongdashu/vibejam-starter-pack
Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.
chongdashu/vibejam-starter-pack
Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.
sendou-ink/sendou.ink
Run, debug, and manage Playwright e2e tests. An agent skill from sendou-ink/sendou.ink.
redhat-developer/rhdh
Create a PR for an E2E test fix, trigger Qodo agentic review, address review comments, and monitor CI results
redhat-developer/rhdh
Deploy RHDH to an OpenShift cluster using local-run.sh for E2E test execution, with autonomous error recovery for deployment failures
redhat-developer/rhdh
Analyze a failing E2E test, determine root cause, and fix it using Playwright Test Agents and RHDH project conventions
redhat-developer/rhdh
Parse a Prow CI job URL or Jira ticket to extract E2E test failure details including test name, spec file, release branch, platform, and error messages
redhat-developer/rhdh
Verify an E2E test fix by running the test multiple times and checking code quality
redhat-developer/rhdh
Workflow to backport Backstage changes into RHDH by syncing a downstream maintenance branch and generating yarn patches.
Works with
Categories
Run a specific failing E2E test against a deployed RHDH instance to confirm the failure and determine if it is consistent or flaky. E2E Reproduce Failure is an agent skill from redhat-developer/rhdh.
E2E Reproduce Failure fits situations like: tasks that involve End-to-end testing; tasks that involve Failing and flaky tests; tasks that involve Platform engineering.
Run `npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a claude-code`. Or copy the skill folder (.claude/skills/e2e-reproduce-failure in redhat-developer/rhdh) into .claude/skills/e2e-reproduce-failure in your project. Claude Code loads it when a task matches its description.
Run `npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a codex`. Or copy the skill folder (.claude/skills/e2e-reproduce-failure in redhat-developer/rhdh) into .agents/skills/e2e-reproduce-failure in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add redhat-developer/rhdh --skill e2e-reproduce-failure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/e2e-reproduce-failure, .gemini/skills/e2e-reproduce-failure, .github/skills/e2e-reproduce-failure and .opencode/skills/e2e-reproduce-failure in your project.
Going by SKILL.md and its folder, E2E Reproduce Failure needs the command-line tools its instructions call (yarn, npx and curl) and credentials named K8S_CLUSTER_TOKEN. Our summary lists: Node.js; A credential in K8S_CLUSTER_TOKEN.
SKILL.md names 1 domain. As links in the text: playwright.dev. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
E2E Reproduce Failure is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with E2E Reproduce Failure: Cucumber and Playwright E2E Tests (langgenius/dify, 158k stars), Debugging Opik E2E Tests (comet-ml/opik, 22k stars), Debug Playwright (quay/quay, 2.8k stars) and Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
redhat-developer (a GitHub organization) maintains it in redhat-developer/rhdh, which has 172 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.
Source: redhat-developer/rhdh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.