upskill-event-manager/wordpress-dev/tests
bengizmo a0a4e2e505 feat: Implement Master Dashboard with role-based access control
- Added hvac_master_trainer role with special capabilities:
  * view_master_dashboard
  * view_all_trainer_data
  * manage_google_sheets_integration

- Created Master Dashboard page and template:
  * System overview with 6 key statistics (events, trainers, revenue)
  * Trainer performance analytics table
  * All events management with filtering
  * System-wide data aggregation across all trainers

- Implemented comprehensive access control:
  * Master trainers and administrators can access
  * Regular trainers denied with proper error handling
  * Non-logged users redirected to login

- Added data aggregation class (HVAC_Master_Dashboard_Data):
  * Direct database queries bypass TEC trainer filters
  * Aggregates events, tickets, and revenue across all users
  * Methods for total events, trainer stats, and events data

- Enhanced template loading and shortcode registration:
  * Added [hvac_master_dashboard] shortcode
  * Integrated master dashboard template loading
  * Uses harmonized CSS framework for consistent styling

- Created comprehensive Playwright test suite:
  * Tests administrator and trainer access
  * Verifies access control and error handling
  * Validates data display and UI rendering
  * Includes visual verification with screenshots

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-13 16:49:16 -03:00
..
basic feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
e2e feat: Implement Master Dashboard with role-based access control 2025-06-13 16:49:16 -03:00
includes feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
integration feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
manual feat: Add Email Attendees functionality (Phase 2) 2025-05-20 10:33:03 -03:00
phpunit/includes feat: Implement auto page creation & fix login E2E tests 2025-03-28 17:18:21 -03:00
test-results feat(testing): Implement comprehensive trainer journey test suite with Page Object Model 2025-05-18 15:42:00 -03:00
bootstrap-staging.php Update plugin verification and integration scripts for correct TEC plugin slugs; resolve activation issues; document E2E test failures and update integration testing plan 2025-04-24 14:54:39 -03:00
bootstrap.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Event_Management_Test.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Role_Manager.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Role_Manager_Test.php feat(testing): Implement HVAC Role Manager component 2025-04-14 19:02:22 -03:00
HVAC_Test_Data_Generator.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Test_Data_Generator_Test.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Test_User_Factory.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Test_User_Factory_Test.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
test-doubles.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
test-user-factory.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
wp-tests-config-sample.php Update plugin verification and integration scripts for correct TEC plugin slugs; resolve activation issues; document E2E test failures and update integration testing plan 2025-04-24 14:54:39 -03:00
wp-tests-config-staging.php update: Change staging domain to upskill-staging.measurequick.com 2025-05-21 16:42:10 -03:00
wp-tests-config.php Update plugin verification and integration scripts for correct TEC plugin slugs; resolve activation issues; document E2E test failures and update integration testing plan 2025-04-24 14:54:39 -03:00