ark-dashboard-testing

dwmkerr's avatarfrom dwmkerr

Test Ark Dashboard with Playwright and create PRs with screenshots. Use when testing dashboard UI, taking screenshots for PRs, or reviewing dashboard changes.

⭐98stars🔀17forks📁View on GitHub🕐Updated Dec 5, 2025⬇️1downloads

When & Why to Use This Skill

The Ark Dashboard Testing skill automates UI verification using Playwright, enabling developers to perform comprehensive dashboard testing and visual audits. It streamlines the development workflow by automatically capturing screenshots and embedding them directly into GitHub Pull Requests, ensuring visual consistency and faster code reviews through automated documentation.

Use Cases

  • Automated UI Regression Testing: Use Playwright to navigate the Ark Dashboard and verify that UI components render correctly after code changes, preventing visual regressions.
  • Visual PR Documentation: Automatically capture screenshots of UI changes and upload them to a scratch repository to provide reviewers with immediate visual context within GitHub Pull Requests.
  • Local Environment Validation: Quickly verify the health and accessibility of the dashboard service via port-forwarding and automated browser checks before submitting code for review.
nameark-dashboard-testing
descriptionTest Ark Dashboard with Playwright and create PRs with screenshots. Use when testing dashboard UI, taking screenshots for PRs, or reviewing dashboard changes.

Ark Dashboard Testing

Test Ark Dashboard UI with Playwright and create PRs with embedded screenshots.

Setup

kubectl port-forward svc/ark-dashboard 3000:3000 -n default &
curl http://localhost:3000  # warm up

Test with Playwright

Use Playwright MCP tools: browser_navigate, browser_wait_for, browser_click, browser_take_screenshot.

Screenshots save to .playwright-mcp/screenshots/ - move to ./screenshots/.

PR Screenshots

Check if user has a scratch repo:

gh repo view <USERNAME>/scratch

If not, suggest creating one with structure: scratch/pull-request-attachments/<org>_<repo>/

Upload:

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 #XXX" && git push

Reference in PR:

![Alt](https://raw.githubusercontent.com/<USERNAME>/scratch/master/pull-request-attachments/<org>_<repo>/01-screenshot.png)

Update PR via API:

gh api repos/<org>/<repo>/pulls/XXX -X PATCH -f body="..."

Claude Code Skills Documentation