Debug E2E Test
bitovi/ai-enablement-prompts
Debug and fix failing Playwright E2E tests. An agent skill from bitovi/ai-enablement-prompts.
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.
$ npx skills add comet-ml/opik --skill debugging-e2e-tests -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install comet-ml/opik debugging-e2e-tests --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/comet-ml/opik.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/debugging-e2e-tests .claude/skills/debugging-e2e-tests && 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 "debugging-e2e-tests" agent skill from https://github.com/comet-ml/opik/tree/main/.agents/skills/debugging-e2e-tests into .claude/skills/debugging-e2e-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-e2e-tests", 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/comet-ml/opik/tree/main/.agents/skills/debugging-e2e-testsType 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 comet-ml/opik --skill debugging-e2e-tests -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install comet-ml/opik debugging-e2e-tests --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/comet-ml/opik.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/debugging-e2e-tests .agents/skills/debugging-e2e-tests && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "debugging-e2e-tests" agent skill from https://github.com/comet-ml/opik/tree/main/.agents/skills/debugging-e2e-tests into .agents/skills/debugging-e2e-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-e2e-tests", 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 comet-ml/opik --skill debugging-e2e-tests -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install comet-ml/opik debugging-e2e-tests --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/comet-ml/opik.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/debugging-e2e-tests .cursor/skills/debugging-e2e-tests && 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 "debugging-e2e-tests" agent skill from https://github.com/comet-ml/opik/tree/main/.agents/skills/debugging-e2e-tests into .cursor/skills/debugging-e2e-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-e2e-tests", 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/comet-ml/opik.git --path .agents/skills/debugging-e2e-tests--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 comet-ml/opik --skill debugging-e2e-tests -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install comet-ml/opik debugging-e2e-tests --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/comet-ml/opik.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/debugging-e2e-tests .gemini/skills/debugging-e2e-tests && 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 "debugging-e2e-tests" agent skill from https://github.com/comet-ml/opik/tree/main/.agents/skills/debugging-e2e-tests into .gemini/skills/debugging-e2e-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-e2e-tests", 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 comet-ml/opik debugging-e2e-testsInstalls 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 comet-ml/opik --skill debugging-e2e-tests -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/comet-ml/opik.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/debugging-e2e-tests .github/skills/debugging-e2e-tests && 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 "debugging-e2e-tests" agent skill from https://github.com/comet-ml/opik/tree/main/.agents/skills/debugging-e2e-tests into .github/skills/debugging-e2e-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-e2e-tests", 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 comet-ml/opik --skill debugging-e2e-tests -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install comet-ml/opik debugging-e2e-tests --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/comet-ml/opik.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/debugging-e2e-tests .opencode/skills/debugging-e2e-tests && 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 "debugging-e2e-tests" agent skill from https://github.com/comet-ml/opik/tree/main/.agents/skills/debugging-e2e-tests into .opencode/skills/debugging-e2e-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-e2e-tests", 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.
debugging-e2e-testsInvestigates 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.
Give the agent a failure from a CI check, an Allure TestOps launch, a test name or a local run and it collects the evidence first: Playwright traces and videos, the HTML report and Allure results, taken from CI artifacts or the local test-results folder. It uses the allure-testops MCP to find the launch, list test results with their flaky flags and pull each test's pass and fail history, and uses gh to find the failed job and download artifacts.
The trace is opened with Playwright's show-trace to see the failing step, DOM snapshot, console and network at that moment. From the history and the trace the agent classifies the failure as a real regression or a flake and proposes a fix with the evidence cited. It is read-only: it does not edit tests or rerun the suite, and applying the fix is handed to the writing-e2e-tests skill or a separate request.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f217a86. 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:
ghnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh and npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Debugging Opik E2E Tests loads about 1.8k tokens when it runs. Until then it costs about 116 tokens; SKILL.md has 855 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 found no risky patterns in SKILL.md.
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 comet-ml/opik at commit f217a86, republished under its Apache-2.0 licence (© comet-ml). 855 words, ~1,795 tokens.
.claude/skills/debugging-e2e-tests/SKILL.md (or your agent's skills folder).This skill investigates a failed test in the Opik E2E suite (tests_end_to_end/e2e/). You give it a failure from wherever you noticed it; it gathers the evidence, decides whether it's a real regression or a flake, and proposes a fix.
Announce at start: "I'm using the debugging-e2e-tests skill to investigate X."
writing-e2e-tests skill (or just say "apply it") — that's a separate, deliberate act with its own run-until-green loop.tests_end_to_end/e2e/test-results/ (retained on failure), Allure results under allure-results/.test-results-v2 (Playwright traces + videos), playwright-report-v2 (the HTML report), allure-results-v2. Download with gh run download <run-id> -n test-results-v2 -D <dir>.comet.testops.cloud, project id 1) — results stream live during CI. Launches are named Opik v2 … <tier> - <run_id> (the trailing number is the GitHub Actions run id; the env segment varies — E2E, Post-Merge, Local, staging, production).allure-testops MCP (already connected) — the richest source. Validated calls:list_launches(projectId: 1, search: "<run_id or name fragment>", sort: ["createdDate,DESC"]) or search_launches(rql: …) — find the launch.list_test_results(launchId) — per-test name, fullName (spec path + line, e.g. datasets/dataset-crud-smoke.spec.ts:8:7), status, a TestOps-computed flaky flag, muted/known, tags, jobRun.url (the GitHub Actions run), and the result id. Use search to filter to the failing test.get_test_result_history(id) — the pass/fail timeline for that test across recent launches. This is the flake signal.gh — gh run view <run-id> to find the failed job; gh run download <run-id> -n test-results-v2 -D <dir> for the trace artifact. A launch's jobRun.url gives you the run id.npx playwright show-trace <trace.zip> (from tests_end_to_end/e2e/) — open the trace to see the exact step that failed, the DOM snapshot, and console/network at that moment.git — diff the suspected change against the failing test's code path.digraph debugging_e2e {
rankdir=TB;
"1. Resolve entry point" [shape=box];
"2. Gather evidence" [shape=box];
"3. Classify" [shape=box];
"4. Diagnose" [shape=box];
"5. Report + propose (no edits)" [shape=box];
"1. Resolve entry point" -> "2. Gather evidence";
"2. Gather evidence" -> "3. Classify";
"3. Classify" -> "4. Diagnose";
"4. Diagnose" -> "5. Report + propose (no edits)";
}Normalize whatever you were given into "a failed test + where its evidence lives":
gh run view <run-id> for the failed job; find the matching launch via list_launches(projectId: 1, search: "<run-id>"); the trace is in the test-results-v2 artifact (gh run download).list_test_results(launchId), filter to the failed results.list_test_results with search across a recent launch, or search launches, to find the result id; then pull its history.test-results/ trace and allure-results/ directly; TestOps may have nothing for an uncommitted local run, which is fine.npx playwright show-trace on the retained/downloaded .zip. Read the failing step, the DOM snapshot at that point, and console/network around it.only-on-failure / retain-on-failure).get_test_result_history(id), plus the TestOps flaky flag on the result. Skip history gracefully when TestOps isn't reachable (e.g. a purely local run) and fall back to trace + diff reasoning.Decide: real regression, flake, or environment / selector drift.
flaky: true → lean flake.Root cause, grounded in cited evidence (the specific trace step, the error, the history pattern) — not speculation. Apply the suite's lenses:
data-testid, so a locator no longer resolves.Produce:
Do not edit anything. If the developer wants the fix applied, hand off to writing-e2e-tests.
writing-e2e-tests makes a new test; this explains a red one.© comet-ml, 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 .agents/skills/debugging-e2e-tests of comet-ml/opik.
Open the folder on GitHubat commit f217a86
Debugging Opik E2E Tests 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 |
|---|---|---|---|---|---|---|
| Debugging Opik E2E Tests this skillcomet-ml/opik | 22k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Debug E2E Testbitovi/ai-enablement-prompts | 121 | — | ~677 | Automated safety check: Pass | MIT | |
| Debug Playwrightquay/quay | 2.8k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Playwright Testingchongdashu/vibejam-starter-pack | 149 | — | ~2.2k | Automated safety check: Pass | None | |
| Playwright Healing AgentTahanima/playwright-java-test-automation-architecture | 113 | — | ~210 | Automated safety check: Pass | MIT | |
| Web Testing with Playwright and Vitestwithkynam/vibecode-pro-max-kit | 1.1k | — | ~892 | Automated safety check: Pass | Apache-2.0 |
bitovi/ai-enablement-prompts
Debug and fix failing Playwright E2E tests. An agent skill from bitovi/ai-enablement-prompts.
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.
Tahanima/playwright-java-test-automation-architecture
Expert in diagnosing Playwright failures. Uses the @playwright MCP to verify live DOM state.
withkynam/vibecode-pro-max-kit
Covers web testing from unit to E2E, load, visual, accessibility and security checks, with Playwright, Vitest and k6 guides plus a Playwright setup script.
PowerShell/PowerShell
Investigates failing Pester tests in PowerShell CI jobs by following a six-step workflow from pull request status to documented fix recommendations.
comet-ml/opik
Checklist for wiring a new linter into Opik's Code Quality pipeline: the four files to edit, the silent-failure gotchas and the pass/fail verification loop.
comet-ml/opik
Shows how to add product analytics events to Opik's frontend, Java backend and Python SDK, all reporting through Segment to PostHog with an opik_ name prefix.
comet-ml/opik
Rules for writing PR descriptions, changelog entries and feature documentation in the Opik repository, including the exact headings that CI requires.
comet-ml/opik
Turns a code change into one committed, passing Playwright end-to-end spec by resolving the change scope and handing authoring to a companion skill.
comet-ml/opik
Starts, rebuilds, and troubleshoots the Opik local dev stack, including an optional Comet Platform integration mode for the Opik team.
comet-ml/opik
Specifies how to instrument an opik-backend pipeline with per-stage OpenTelemetry metrics for throughput, latency, errors and queue delay by workspace.
Categories
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. Give the agent a failure from a CI check, an Allure TestOps launch, a test name or a local run and it collects the evidence first: Playwright traces and videos, the HTML report and Allure results, taken from CI artifacts or the local test-results folder. It uses the allure-testops MCP to find the launch, list test results with their flaky flags and pull each test's pass and fail history, and uses gh to find the failed job and download artifacts.
Debugging Opik E2E Tests fits situations like: A pull request check shows an Opik E2E test failing and you need to know why; deciding whether a test such as dataset-crud-smoke is flaky or genuinely broken; the nightly E2E suite turned red and you want the first failing test explained; reading Playwright traces and Allure history for a failed run.
Run `npx skills add comet-ml/opik --skill debugging-e2e-tests -a claude-code`. Or copy the skill folder (.agents/skills/debugging-e2e-tests in comet-ml/opik) into .claude/skills/debugging-e2e-tests in your project. Claude Code loads it when a task matches its description.
Run `npx skills add comet-ml/opik --skill debugging-e2e-tests -a codex`. Or copy the skill folder (.agents/skills/debugging-e2e-tests in comet-ml/opik) into .agents/skills/debugging-e2e-tests 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 comet-ml/opik --skill debugging-e2e-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debugging-e2e-tests, .gemini/skills/debugging-e2e-tests, .github/skills/debugging-e2e-tests and .opencode/skills/debugging-e2e-tests in your project.
Going by SKILL.md and its folder, Debugging Opik E2E Tests needs the command-line tools its instructions call (gh and npx). Our summary lists: The allure-testops MCP server; GitHub CLI (gh); Playwright, to open traces.
SKILL.md contains no URLs. Its commands use gh and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Debugging Opik E2E Tests 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.8k tokens (SKILL.md is roughly 7.2k 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 Debugging Opik E2E Tests: Debug E2E Test (bitovi/ai-enablement-prompts, 121 stars), Debug Playwright (quay/quay, 2.8k stars), Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars) and Playwright Healing Agent (Tahanima/playwright-java-test-automation-architecture, 113 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
comet-ml (a GitHub organization) maintains it in comet-ml/opik, which has 22,412 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.
Source: comet-ml/opik on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.