Ark Dashboard and UI Testing
Ark Dashboard and UI
Test Ark Dashboard UI with Playwright and attach screenshots to PRs.
When to use this skill
Use this skill when:
- User wants to test the Ark dashboard
- User needs screenshots for a PR
- User asks to validate dashboard UI changes
Prerequisites
CRITICAL: Before proceeding, verify Kubernetes is available:
kubectl cluster-info
If 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.
Setup
Port forward the dashboard and warm up:
kubectl port-forward svc/ark-dashboard 3000:3000 -n default &
curl http://localhost:3000
Test with Playwright
Use Playwright MCP tools to navigate and screenshot:
browser_navigate- Open pagesbrowser_wait_for- Wait for elementsbrowser_click- Click elementsbrowser_take_screenshot- Capture screenshots
Screenshots save to .playwright-mcp/screenshots/. Move to ./screenshots/ for organization.
Upload Screenshots for PRs
Check if user has a scratch repo:
gh repo view <USERNAME>/scratch
If 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 push
Reference in PR body:

Update PR:
gh api repos/<org>/<repo>/pulls/<NUMBER> -X PATCH -f body="..."
More from mckinsey/agents-at-scale-ark
ark-vulnerability-fixer
CVE research and security patch workflow for Ark. Provides CVE API integration, mitigation strategies, and security-focused PR templates. Works with research, analysis, and setup skills for comprehensive vulnerability fixing.
37ark-research
Research technical solutions by searching the web, examining GitHub repos, and gathering evidence. Use when exploring implementation options or evaluating technologies.
35ark-documentation
Guidance for structuring Ark documentation using the Diataxis framework. Use this skill when creating new docs, deciding where content belongs, reviewing documentation PRs, or restructuring existing documentation.
35ark-pentest-issue-resolver
Resolve common penetration testing issues in Ark. Use when fixing security vulnerabilities from pentest reports, security audits, or OWASP Top 10 issues.
35ark setup
Set up and install the Ark platform from source. Use this skill when the user wants to install, deploy, or configure Ark in their local Kubernetes cluster.
34ark analysis
Analyze the Ark codebase by cloning the repository to a temporary location. Use this skill when the user asks questions about how Ark works, wants to understand Ark's implementation, or needs to examine Ark source code.
33