Debugging Opik E2E Tests
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.
Investigates a stubbornly failing Playwright test as a possible product bug, using error output, screenshots, traces and server code, and writes a structured bug report.
$ npx skills add appsmithorg/appsmith --skill diagnose-pw-failure -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install appsmithorg/appsmith diagnose-pw-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/appsmithorg/appsmith.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/diagnose-pw-failure .claude/skills/diagnose-pw-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 "diagnose-pw-failure" agent skill from https://github.com/appsmithorg/appsmith/tree/release/.cursor/skills/diagnose-pw-failure into .claude/skills/diagnose-pw-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-pw-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/appsmithorg/appsmith/tree/release/.cursor/skills/diagnose-pw-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 appsmithorg/appsmith --skill diagnose-pw-failure -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install appsmithorg/appsmith diagnose-pw-failure --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/appsmithorg/appsmith.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/diagnose-pw-failure .agents/skills/diagnose-pw-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 "diagnose-pw-failure" agent skill from https://github.com/appsmithorg/appsmith/tree/release/.cursor/skills/diagnose-pw-failure into .agents/skills/diagnose-pw-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-pw-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 appsmithorg/appsmith --skill diagnose-pw-failure -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install appsmithorg/appsmith diagnose-pw-failure --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/appsmithorg/appsmith.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/diagnose-pw-failure .cursor/skills/diagnose-pw-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 "diagnose-pw-failure" agent skill from https://github.com/appsmithorg/appsmith/tree/release/.cursor/skills/diagnose-pw-failure into .cursor/skills/diagnose-pw-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-pw-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/appsmithorg/appsmith.git --path .cursor/skills/diagnose-pw-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 appsmithorg/appsmith --skill diagnose-pw-failure -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install appsmithorg/appsmith diagnose-pw-failure --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/appsmithorg/appsmith.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/diagnose-pw-failure .gemini/skills/diagnose-pw-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 "diagnose-pw-failure" agent skill from https://github.com/appsmithorg/appsmith/tree/release/.cursor/skills/diagnose-pw-failure into .gemini/skills/diagnose-pw-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-pw-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 appsmithorg/appsmith diagnose-pw-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 appsmithorg/appsmith --skill diagnose-pw-failure -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/appsmithorg/appsmith.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/diagnose-pw-failure .github/skills/diagnose-pw-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 "diagnose-pw-failure" agent skill from https://github.com/appsmithorg/appsmith/tree/release/.cursor/skills/diagnose-pw-failure into .github/skills/diagnose-pw-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-pw-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 appsmithorg/appsmith --skill diagnose-pw-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 appsmithorg/appsmith diagnose-pw-failure --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/appsmithorg/appsmith.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/diagnose-pw-failure .opencode/skills/diagnose-pw-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 "diagnose-pw-failure" agent skill from https://github.com/appsmithorg/appsmith/tree/release/.cursor/skills/diagnose-pw-failure into .opencode/skills/diagnose-pw-failure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-pw-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.
diagnose-pw-failureInvestigates a stubbornly failing Playwright test as a possible product bug, using error output, screenshots, traces and server code, and writes a structured bug report.
Use it when a Playwright spec has been fixed two or three times and the same assertion keeps failing, when the selectors and waits look right but the app renders the wrong thing, or when the server returns unexpected 500 or 403 responses. It also applies once the write-and-verify or spec-fixing skills have used up their retries, and it steps aside when the error is plainly a test-code problem such as an import or selector syntax error.
Step one gathers evidence: the exact failing assertion with expected and received values, failure screenshots from the Playwright results folder, trace files that can be opened with the Playwright trace viewer, captured API responses, and optionally the server code behind the endpoint plus recent commits to that path. Step two classifies the bug as UI rendering, data regression, server error or auth and permission, each with a severity.
The output is a structured bug report with expected versus actual behavior, reproduction steps and a likely root cause, which gives developers something to act on instead of another round of spec edits.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit fb3eb95. 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:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use 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.
Diagnose Playwright Failure as Product Bug loads about 1.5k tokens when it runs. Until then it costs about 102 tokens; SKILL.md has 489 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 appsmithorg/appsmith at commit fb3eb95, republished under its Apache-2.0 licence (© appsmithorg). 489 words, ~1,482 tokens.
.claude/skills/diagnose-pw-failure/SKILL.md (or your agent's skills folder).Use this skill when:
write-and-verify-pw-test or fix-pw-spec skill has exhausted its retry budgetDo not use if the error is clearly a test code issue (import error, wrong selector syntax, TypeScript compilation error). Use fix-pw-spec instead.
Gather all available evidence:
Read the terminal output from the failed test run. Note:
Check app/client/playwright/results/ for failure screenshots:
ls -la app/client/playwright/results/If screenshots exist, read them (the Read tool supports images). They show exactly what the browser rendered at failure time.
Traces are at app/client/playwright/results/<test-path>/trace.zip. Note their location for the bug report — they can be viewed with npx playwright show-trace <path>.
If the spec uses waitForResponse, check if the API response was captured in the error output. Common patterns:
If the failure involves an API call, trace the server code:
API.actionsExecute → /api/v1/actions/execute)app/server/ for @PostMapping("/api/v1/actions/execute") or similar| Category | Signals | Severity |
|---|---|---|
| UI rendering | Wrong text, missing element, broken layout (screenshot shows it) | Medium |
| Data regression | API returns correct status but wrong payload | High |
| Server error | 500 response, stack trace in logs | Critical |
| Auth/permission | 401/403 on previously working endpoint | High |
| Feature flag | Feature works with flag on but not off (or vice versa) | Medium |
| Deployment issue | ECONNREFUSED, DNS failure, unhealthy containers | Blocker |
| Race condition | Intermittent — passes sometimes, fails others | Medium (flaky) |
Before declaring "product bug", do a sanity check:
PLAYWRIGHT_BASE_URL in your analysis and verify the page actually shows what the test expects.PW_FLAG_OVERRIDES or query /api/v1/users/features).Output a structured diagnosis:
## Playwright Failure Diagnosis: PRODUCT BUG
**Spec**: playwright/tests/sanity/widgets/table-filter.spec.ts
**Test**: "filters table by country"
**Deployment**: https://my-dp.appsmith.com
**Category**: Data regression
### Expected behavior
Filtering the table by Country "starts with Ba" should show rows including "Bangladesh".
### Actual behavior
Filter returns 0 rows. The table is empty after applying the filter.
### Evidence
- **Assertion**: `expect(table.cell(2, 0)).toContainText("Bangladesh")` — timed out, cell doesn't exist
- **Screenshot**: playwright/results/sanity-widgets-table-filter/test-failed-1.png
- Shows table with "No data" message after filter is applied
- **API response**: GET /api/v1/actions/execute returned 200 with `{ data: [] }`
- **Spec verified correct**: Selector targets the right table, filter UI interaction works (filter chip appears)
### Likely root cause
The execute API returns empty results for the MySQL "starts with" filter. Possible causes:
- Query generation bug in the server's filter-to-SQL translation
- Datasource connection issue (DATASOURCE_HOST may be unreachable from this deployment)
### Reproduction steps
1. Open the app in deployed mode
2. Click "Add Filter" on the data_table widget
3. Set Column: Country, Condition: starts with, Value: Ba
4. Observe: table shows "No data" instead of filtered results
### Suggested investigation
- Check server logs for the execute query
- Verify DATASOURCE_HOST is reachable from the deployment
- Test the same filter on dev.appsmith.com to compareIf you can't determine whether it's a spec bug or product bug:
## Playwright Failure Diagnosis: INCONCLUSIVE
**Spec**: <path>
**Test**: <name>
### What we know
- [facts from error output]
### What we don't know
- [ambiguities]
### Recommended next steps
1. Run the test with `--debug` flag for step-by-step execution
2. Check server logs on the deployment
3. Try reproducing manually in the browser© appsmithorg, 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 .cursor/skills/diagnose-pw-failure of appsmithorg/appsmith.
Open the folder on GitHubat commit fb3eb95
Diagnose Playwright Failure as Product Bug 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 |
|---|---|---|---|---|---|---|
| Diagnose Playwright Failure as Product Bug this skillappsmithorg/appsmith | 41k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Debugging Opik E2E Testscomet-ml/opik | 22k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Playwright Regression Testingfugazi/test-automation-skills-agents | 247 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Debug E2E Testbitovi/ai-enablement-prompts | 121 | — | ~677 | Automated safety check: Pass | MIT | |
| Claude Code QAPramodDutta/qaskills | 233 | — | ~2.3k | Automated safety check: Pass | MIT | |
| AI Bug Triagepetrkindlmann/qa-skills | 168 | — | ~5.2k | Automated safety check: Pass | MIT |
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.
fugazi/test-automation-skills-agents
Govern Playwright TypeScript regression suites across many tests.
bitovi/ai-enablement-prompts
Debug and fix failing Playwright E2E tests. An agent skill from bitovi/ai-enablement-prompts.
PramodDutta/qaskills
The complete QA skill for Claude Code — turn Claude into an expert QA engineer that picks the right test type, writes reliable Playwright, Cypress, and pytest tests, eliminates flaky tests, enforces…
petrkindlmann/qa-skills
Hybrid fingerprint + LLM pipeline for bug classification, deduplication, and ticket generation.
petrkindlmann/qa-skills
Runtime per-test healing with evidence: multi-attribute selector healing, environment-aware diagnosis, flake classification, quarantine management, and confidence-scored auto-repair.
appsmithorg/appsmith
Writes a Playwright end-to-end test from a prompt, runs it against a live Appsmith deployment and retries with fixes up to three times until it passes.
appsmithorg/appsmith
Fixes failing Playwright specs by reading the error, classifying the cause in the test code and applying corrections that follow project conventions.
Works with
Categories
Investigates a stubbornly failing Playwright test as a possible product bug, using error output, screenshots, traces and server code, and writes a structured bug report. Use it when a Playwright spec has been fixed two or three times and the same assertion keeps failing, when the selectors and waits look right but the app renders the wrong thing, or when the server returns unexpected 500 or 403 responses. It also applies once the write-and-verify or spec-fixing skills have used up their retries, and it steps aside when the error is plainly a test-code problem such as an import or selector syntax error.
Diagnose Playwright Failure as Product Bug fits situations like: A Playwright assertion keeps failing after several spec fixes; the test seems correct but the app shows the wrong content; A valid request in a test gets a 500 or 403 from the server.
Run `npx skills add appsmithorg/appsmith --skill diagnose-pw-failure -a claude-code`. Or copy the skill folder (.cursor/skills/diagnose-pw-failure in appsmithorg/appsmith) into .claude/skills/diagnose-pw-failure in your project. Claude Code loads it when a task matches its description.
Run `npx skills add appsmithorg/appsmith --skill diagnose-pw-failure -a codex`. Or copy the skill folder (.cursor/skills/diagnose-pw-failure in appsmithorg/appsmith) into .agents/skills/diagnose-pw-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 appsmithorg/appsmith --skill diagnose-pw-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/diagnose-pw-failure, .gemini/skills/diagnose-pw-failure, .github/skills/diagnose-pw-failure and .opencode/skills/diagnose-pw-failure in your project.
Going by SKILL.md and its folder, Diagnose Playwright Failure as Product Bug needs the command-line tools its instructions call (npx). Our summary lists: A Playwright test run with its results folder; Access to the application's server code for deeper diagnosis.
SKILL.md contains no URLs. Its commands use 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.
Diagnose Playwright Failure as Product Bug 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.5k tokens (SKILL.md is roughly 5.9k 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 Diagnose Playwright Failure as Product Bug: Debugging Opik E2E Tests (comet-ml/opik, 22k stars), Playwright Regression Testing (fugazi/test-automation-skills-agents, 247 stars), Debug E2E Test (bitovi/ai-enablement-prompts, 121 stars) and Claude Code QA (PramodDutta/qaskills, 233 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
appsmithorg (a GitHub organization) maintains it in appsmithorg/appsmith, which has 41,042 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 8, 2026.
Source: appsmithorg/appsmith on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.