#!/bin/bash # Verify dashboard changes by running Playwright script # Usage: ./verify-dashboard.sh cd "$(dirname "$0")/.." # Check if Node.js is installed if ! command -v node &> /dev/null; then echo "Node.js is required to run this script" exit 1 fi # Check if Playwright is installed if ! npm list -g playwright &> /dev/null; then echo "Installing Playwright..." npm install -g playwright fi # Run the verification script echo "Running dashboard verification script..." node bin/verify-dashboard-changes.js echo "Verification complete. Check the generated screenshots for visual confirmation."