OpenParable
Skip to content
← Back to skills

Fix Web Tests

Testing & Quality
fix-web-tests

Fix Web Tests is an Agent Skill for testing & quality published in the hollaex/hollaex-kit repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Diagnose and fix the HollaEx Playwright web/E2E tests under test/playwright (page-navigation and other specs that run against sandbox.hollaex.com). Use when a web/UI/E2E/Playwright test is failing, flaky, or broken after a UI change, or when authoring a new spec. Triggers on requests like "fix the web tests", "the e2e tests are failing", "the playwright test is broken", "update the test selectors", "the UI changed and the tests broke", "write a new web test".

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/hollaex/hollaex-kit/blob/HEAD/.claude/skills/fix-web-tests/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/fix-web-tests, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Fix Web Tests

Troubleshooter for the HollaEx Playwright suite in test/playwright/. It runs the failing spec, reads the failure from the live rendered DOM (Playwright trace/screenshot — the tests hit the remote sandbox.hollaex.com, so that is the source of truth, with web/src as a secondary reference), then proposes a fix and waits for confirmation before editing. A red test may be catching a real regression — never blindly rewrite a test to make it pass.

Follow these files (paths relative to the repo root):

  1. test/playwright/troubleshooter/PROCEDURE.md — the step-by-step workflow. Start here.
  2. test/playwright/troubleshooter/KNOWN_ISSUES.md — common flaky patterns and the existing helper in test/playwright/tests/utils/ that fixes each (announcement popup, loaders, strict-mode, auth). Reuse helpers; don't reinvent.
  3. test/playwright/troubleshooter/AUTHORING.md — how to write a new spec following repo conventions (only when adding tests).

Helper to summarize failures instead of parsing raw JSON: node test/playwright/troubleshooter/scripts/summarize-failures.mjs