Test the Ark Dashboard and UI with Playwright and create PRs with screenshots. Use this skill when testing dashboard UI, taking screenshots for PRs, or validating dashboard changes.
Test Ark Dashboard UI with Playwright and attach screenshots to PRs.
Use this skill when:
CRITICAL: Before proceeding, verify Kubernetes is available:
kubectl cluster-infoIf this fails, STOP and inform the user:
Cannot continue without a Kubernetes environment. Please ensure Kind or another Kubernetes cluster is running and kubectl is configured.
Ark must be deployed first. Use the ark-setup skill if needed.
Port forward the dashboard and warm up:
kubectl port-forward svc/ark-dashboard 3000:3000 -n default &
curl http://localhost:3000Use Playwright MCP tools to navigate and screenshot:
browser_navigate - Open pagesbrowser_wait_for - Wait for elementsbrowser_click - Click elementsbrowser_take_screenshot - Capture screenshotsScreenshots save to .playwright-mcp/screenshots/. Move to ./screenshots/ for organization.
Check if user has a scratch repo:
gh repo view <USERNAME>/scratchIf not, suggest creating: scratch/pull-request-attachments/<org>_<repo>/
Upload screenshots:
cd /tmp && git clone git@github.com:<USERNAME>/scratch.git
mkdir -p scratch/pull-request-attachments/<org>_<repo>
cp ./screenshots/*.png scratch/pull-request-attachments/<org>_<repo>/
cd scratch && git add . && git commit -m "chore: screenshots for <org>/<repo> PR" && git pushReference in PR body:
Update PR:
gh api repos/<org>/<repo>/pulls/<NUMBER> -X PATCH -f body="..."b018d5b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.