upskill-event-manager/wordpress-dev/tests/test-results/e2e-results.xml
bengizmo cdef12ee80 feat(events): Implement fallback logic and UI for Create/Modify Event page
- Refactored fallback submission logic in `class-event-handler.php` to remove `wp_die`/`exit` calls and use redirects for error handling, enabling proper unit testing.
- Implemented meta-data saving (dates, venue, organizer) in the fallback logic using `update_post_meta`.
- Updated unit tests (`test-event-management.php`) to remove `markTestIncomplete` calls related to handler errors and uncommented meta assertions. Unit tests for fallback logic now pass.
- Added Instructions section and Return to Dashboard button to the event form shortcode (`display_event_form_shortcode`).
- Applied basic theme styling classes (`ast-container`, `notice`, `ast-button`) to the event form.
- Updated `docs/implementation_plan.md` to reflect completion of tasks 4.1-4.5 and set focus to Task 5.

Refs: Task 4.1, 4.2, 4.3, 4.4, 4.5
2025-04-01 11:46:24 -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="32.536479">
<testsuite name="dashboard.spec.ts" timestamp="2025-04-01T12:31:29.223Z" hostname="chromium" tests="3" failures="0" skipped="0" time="10.534" errors="0">
<testcase name="Trainer Dashboard Tests should display dashboard elements for logged-in trainer" classname="dashboard.spec.ts" time="2.423">
</testcase>
<testcase name="Trainer Dashboard Tests should filter events table when filter links are clicked" classname="dashboard.spec.ts" time="5.958">
</testcase>
<testcase name="Trainer Dashboard Tests should display correctly on mobile viewport" classname="dashboard.spec.ts" time="2.153">
</testcase>
</testsuite>
<testsuite name="login.spec.ts" timestamp="2025-04-01T12:31:29.223Z" hostname="chromium" tests="4" failures="0" skipped="0" time="15.712" errors="0">
<testcase name="Login Functionality @login displays login form" classname="login.spec.ts" time="2.439">
</testcase>
<testcase name="Login Functionality @login shows error on invalid credentials" classname="login.spec.ts" time="4.159">
</testcase>
<testcase name="Login Functionality @login redirects to dashboard on successful login" classname="login.spec.ts" time="4.764">
</testcase>
<testcase name="Login Functionality @login remembers login state" classname="login.spec.ts" time="4.35">
</testcase>
</testsuite>
<testsuite name="registration.spec.ts" timestamp="2025-04-01T12:31:29.223Z" hostname="chromium" tests="8" failures="0" skipped="2" time="23.294" errors="0">
<testcase name="Trainer Registration Page E2E Tests should load the registration page successfully and display form" classname="registration.spec.ts" time="2.435">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should show validation errors for empty required fields on submit" classname="registration.spec.ts" time="4.432">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should show validation error for invalid email format" classname="registration.spec.ts" time="4.578">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should show validation error for password mismatch" classname="registration.spec.ts" time="3.223">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should show validation error for weak password" classname="registration.spec.ts" time="3.695">
</testcase>
<testcase name="Trainer Registration Page E2E Tests should allow successful registration with minimum valid required data" classname="registration.spec.ts" time="4.931">
</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>