upskill-event-manager/wordpress-dev/tests/test-results/e2e-results.xml
bengizmo 0bcae8792c fix(tests): Resolve Task 4.7 integration test issues & UMB
- Debugged and resolved failures/skips in integration tests for Task 4.7 (Create/Modify Event Pages). The root cause was incorrect loading and initialization assumptions regarding The Events Calendar Community Events (TEC CE) within the PHPUnit environment.
- Corrected TEC CE loading in `tests/bootstrap.php` by:
    - Fixing the plugin filename (`tribe-community-events.php`).
    - Changing the loading hook from `muplugins_loaded` to `plugins_loaded`.
- Refactored `test-event-management-integration.php`:
    - Moved TEC CE availability checks from `wpSetUpBeforeClass` to `set_up` to avoid premature checks.
    - Removed skip logic based on incorrect assumptions about TEC CE's `$form_handler` property.
- Refactored `class-event-handler.php`:
    - Removed incorrect conditional delegation logic attempting to call a non-existent TEC CE method.
    - Fixed a PHP syntax error (missing closing brace) introduced during previous edits.
- Integration tests for Task 4.7 (`Event_Management_Integration_Test`) now pass successfully.
2025-04-02 07:02:06 -03:00

50 lines
No EOL
3.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<testsuites id="" name="" tests="15" failures="0" skipped="2" errors="0" time="48.07747">
<testsuite name="dashboard.spec.ts" timestamp="2025-04-01T16:21:40.040Z" hostname="chromium" tests="3" failures="0" skipped="0" time="13.734" errors="0">
<testcase name="Trainer Dashboard Tests should display dashboard elements for logged-in trainer" classname="dashboard.spec.ts" time="3.828">
</testcase>
<testcase name="Trainer Dashboard Tests should filter events table when filter links are clicked" classname="dashboard.spec.ts" time="7.378">
</testcase>
<testcase name="Trainer Dashboard Tests should display correctly on mobile viewport" classname="dashboard.spec.ts" time="2.528">
</testcase>
</testsuite>
<testsuite name="login.spec.ts" timestamp="2025-04-01T16:21:40.040Z" hostname="chromium" tests="4" failures="0" skipped="0" time="20.058" errors="0">
<testcase name="Login Functionality @login displays login form" classname="login.spec.ts" time="2.225">
</testcase>
<testcase name="Login Functionality @login shows error on invalid credentials" classname="login.spec.ts" time="5.249">
</testcase>
<testcase name="Login Functionality @login redirects to dashboard on successful login" classname="login.spec.ts" time="5.368">
</testcase>
<testcase name="Login Functionality @login remembers login state" classname="login.spec.ts" time="7.216">
</testcase>
</testsuite>
<testsuite name="registration.spec.ts" timestamp="2025-04-01T16:21:40.040Z" hostname="chromium" tests="8" failures="0" skipped="2" time="34.04" errors="0">
<testcase name="Trainer Registration Page E2E Tests should load the registration page successfully and display form" classname="registration.spec.ts" time="2.217">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should show validation errors for empty required fields on submit" classname="registration.spec.ts" time="6.119">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should show validation error for invalid email format" classname="registration.spec.ts" time="6.014">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should show validation error for password mismatch" classname="registration.spec.ts" time="5.139">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should show validation error for weak password" classname="registration.spec.ts" time="6.335">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should allow successful registration with minimum valid required data" classname="registration.spec.ts" time="8.216">
</testcase>
<testcase name="Trainer Registration Page E2E Tests DEBUG: Capture validation error HTML structure" classname="registration.spec.ts" time="0">
<properties>
<property name="skip" value="">
</property>
</properties>
<skipped>
</skipped>
</testcase>
<testcase name="Trainer Registration Page E2E Tests DEBUG: Capture State/Province dropdown options for US" classname="registration.spec.ts" time="0">
<properties>
<property name="skip" value="">
</property>
</properties>
<skipped>
</skipped>
</testcase>
</testsuite>
</testsuites>