upskill-event-manager/wordpress-dev/bin/verify-dashboard.sh
bengizmo e59c2e5ccc feat: Add Trainer Profile page and functionality
- Add trainer-profile page to required_pages array in main plugin file
- Create template-trainer-profile.php with comprehensive profile display
- Implement render_trainer_profile() function in main class
- Add template loading for trainer-profile page
- Create helper script to ensure trainer-profile page exists in WordPress
- Fix shortcode registration in Login_Handler to prevent duplicates
- Add dashboard verification script for testing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-20 07:43:39 -03:00

24 lines
No EOL
617 B
Bash
Executable file

#!/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."