/test-plan:test-plan-ui-verify (run after ui_prepare.py - no arguments)from test-plan
Browser-based UI test execution against live ODH/RHOAI clusters. Loads TCs from a GitHub PR or repo folder via ui_prepare.py, executes each via a persistent Playwright browser, and produces a visual HTML report with PASS/FAIL/BLOCKED/INCOMPLETE verdicts and screenshots. Use for verifying UI test cases against live clusters with visual evidence and screenshot capture.
Ships in test-plan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Verifies UI test cases against a live ODH/RHOAI cluster. Reads TC-*.md files from a GitHub PR or repository folder, runs browser interactions via the Playwright Python API (persistent CDP browser), and produces a PASS/FAIL/BLOCKED report with highlighted screenshots. Test cases with no UI steps are automatically marked BLOCKED.
# Step 1 — terminal (deterministic setup):
python3 skills/test-plan-ui-verify/scripts/ui_prepare.py \
--test-plan-pr <url> [--tc <filter>] [--priority <P>]
# Step 2 — Claude Code (launched automatically, or type manually):
/test-plan-ui-verify
| Flag | Description |
|---|---|
--test-plan-pr <url> | Load TCs from any open GitHub PR |
--test-plan <path> | Load TCs from a folder in main (e.g. org/repo/feature_folder) |
--tc <filter> | Exact ID (TC-FILTER-001) or category prefix (TC-FILTER, TC-E2E,TC-CARD) |
--priority <P> | P0, P1, or P2 — default: all priorities |
--target-url <url> | Skip route auto-detection, use this URL |
--refresh-map <path> | Regenerate element-map.yaml from odh-dashboard source |
--setup | One-time credential setup wizard |
--upgrade-phase <pre|post> | Upgrade testing: pre saves baseline on old cluster; post compares against baseline on new cluster |
--baseline <session-dir> | Explicit baseline for --upgrade-phase post — pin comparison to a specific prior session (e.g. the original working state when verifying a fix after a broken intermediate run) |
| File | Purpose |
|---|---|
test-variables.yml | Cluster credentials (gitignored — copy from .example) |
element-map.yaml | 1300+ data-testid selectors from dashboard source |
component-registry.yaml | ODH component → URL/auth configuration and known routes |
scripts/ui_prepare.py | Deterministic setup: loads TCs, resolves creds/URL, launches browser, writes context |
scripts/ui_interact.py | Element interaction: click, fill, goto, scroll, expand (auto-relogins on session expiry) |
scripts/ui_assert.py | Assertion runner: banner, screenshot, log, exit code; --inspect for diagnostic-only calls; --click-before to open ephemeral UI (dropdowns, menus) before asserting |
scripts/ui_block.py | Logs BLOCKED/INCOMPLETE verdict entries to the TC log |
scripts/ui_report.py | Generates report.html + report.md per run; for upgrade post-runs also generates upgrade-report.html (FIXED/REGRESSION/STABLE comparison) with a pre-session/ symlink to the baseline |
scripts/github_utils.py | GitHub API helpers: fetch TC files and metadata via gh |
scripts/build_element_map.py | Regenerates element-map.yaml from odh-dashboard source |
All results land in skills/test-plan-ui-verify/results/<session>/:
report.html — visual report: color-coded verdicts, per-TC assertion tables with screenshot thumbnails; open in browserreport.md — plain-text Markdown summary (same content, for GitHub / terminal)TC-*-verify-*.png — highlighted verification screenshots (one per assertion)tc_log.json — raw assertion data (verdict priority: FAIL > INCOMPLETE > BLOCKED > PASS)Upgrade post-runs additionally produce:
upgrade-report.html — side-by-side comparison: FIXED / REGRESSION / STABLE / STILL FAILING / POST-ONLY per TC; links to pre and post individual reportsupgrade-report.md — plain-text version of the comparisonpre-session/ — symlink to the baseline session directory for easy navigationExecution constraints: Never retry the same action more than twice. For route discovery, look up
ctx["known_routes"]first, then try alternatives freely — URL attempts are unlimited. If 3 consecutive tool calls produce no progress, mark the TC INCOMPLETE and move on. Useui_assert.py --inspectfor read-only DOM investigation (never logs to TC log, never mutates DOM). Only callui_assert.pywithout--inspectfor official Expected Results.
Before executing, read the full implementation guide:
Use the Read tool to read instructions.md in this skill's directory, then follow the phases exactly.
README.md (opens in a new tab)component-registry.yaml (opens in a new tab)element-map.yaml (opens in a new tab)instructions.md (opens in a new tab)js-patterns.md (opens in a new tab)requirements.txt (opens in a new tab)scripts/__init__.py (opens in a new tab)scripts/browser_common.py (opens in a new tab)scripts/build_element_map.py (opens in a new tab)scripts/github_utils.py (opens in a new tab)scripts/helpers.py (opens in a new tab)scripts/paths.py (opens in a new tab)scripts/ui_assert.py (opens in a new tab)scripts/ui_block.py (opens in a new tab)scripts/ui_cleanup.py (opens in a new tab)scripts/ui_collect.py (opens in a new tab)scripts/ui_interact.py (opens in a new tab)scripts/ui_prepare.py (opens in a new tab)scripts/ui_read_ctx.py (opens in a new tab)scripts/ui_report.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
claude-opus-4-6Other plugins' skills for the same job
16 skills in this plugin
/test-plan-analyze-endpointsAnalyzes strategy, optional ADR, and optional design spec to extract feature scope, AC-traced test objectives, and interfaces under test. Use for extracting technical scope and e2e/UI test surface from requirements documents./test-plan-analyze-infraAnalyzes strategy, optional ADR, and optional design spec to identify test environment configuration, test data, test users, infrastructure, and tooling requirements. Use for determining test execution prerequisites and infrastructure setup needs./test-plan-analyze-risksAnalyzes strategy, optional ADR, and optional design spec to determine test levels, test types, priority definitions, non-functional requirements, and risks with mitigations. Use for identifying what needs testing, how to prioritize test coverage, and what risks to mitigate.test-plan@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin test-plan