upskill-event-manager/tests
ben 80f11e71dd fix: resolve dashboard fatal errors and event edit security check failures
Fixes three critical production issues discovered on upskillhvac.com:

 Dashboard Fatal Errors (class-hvac-dashboard-data.php):
- Added class_exists('Tribe__Events__Main') checks before accessing TEC constants
- Prevents fatal errors when TEC plugin loads after our code
- Applied to get_total_events_count(), get_upcoming_events_count(), and get_past_events_count()
- Gracefully returns 0 when TEC is not available

 Event Edit Security Check Failure (page-edit-event-custom.php):
- Fixed nonce action mismatch: changed 'hvac_edit_event' to 'hvac_event_action'
- Aligns with HVAC_Event_Manager::NONCE_ACTION constant
- Resolves "Security check failed" error on event update forms

 Google Drive Folder Update:
- Updated embedded folder ID from 16uDRkFcaEqKUxfBek9VbfbAIeFV77nZG to 1-SDHGR9Ix6BmUVTHa3wI99K0rwfWL-vs
- Applied to templates/page-trainer-resources.php (trainer resources page)
- Applied to includes/class-hvac-announcements-display.php (shortcode default)
- Updated tests/unit/test-announcements-display.php (test references)

All changes tested and verified on production.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 16:37:59 -03:00
..
data feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
e2e feat: enhance Docker testing infrastructure and modernize test framework 2025-08-30 19:03:17 -03:00
environments feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
evidence feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
framework feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
helpers feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
integration feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
migrated feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
page-objects feat: enhance Docker testing infrastructure and modernize test framework 2025-08-30 19:03:17 -03:00
scripts feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
setup feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
suites feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
unit fix: resolve dashboard fatal errors and event edit security check failures 2025-10-29 16:37:59 -03:00
utilities/security feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
.env.template feat: enhance Docker testing infrastructure and modernize test framework 2025-08-30 19:03:17 -03:00
ajax-security.test.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
authentication-system.test.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
build-system-security.test.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
BUILD-SYSTEM-TESTING-GUIDE.md feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
build-system-validation.test.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
bundled-assets-standalone.test.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
bundled-assets.test.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
COMPREHENSIVE-TEST-SUITE-SUMMARY.md feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
css-asset-loading.test.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
docker-compose.test.yml feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
DOCKER-ENVIRONMENT-STATUS.md feat: enhance Docker testing infrastructure and modernize test framework 2025-08-30 19:03:17 -03:00
Dockerfile.playwright feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
e2e-bundled-assets-functionality.test.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
package-lock.json feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
package.json feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
playwright-master-trainer.config.js feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
playwright.config.js feat: complete master trainer system transformation from 0% to 100% success 2025-09-02 16:41:51 -03:00
README-FRAMEWORK-2.0.md feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
README-MASTER-TRAINER-COMPREHENSIVE.md feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00
verify-docker-environment.js feat: enhance Docker testing infrastructure and modernize test framework 2025-08-30 19:03:17 -03:00
wp-cli.phar feat: add comprehensive test framework and test files 2025-08-29 23:23:26 -03:00