Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('p.error-message[id="first_name_error"]') 37 | 38 | // Check for presence of error messages for key required fields using the updated selector pattern > 39 | await expect(page.locator(FIELD_ERROR_SELECTOR('first_name'))).toBeVisible(); | ^ 40 | await expect(page.locator(FIELD_ERROR_SELECTOR('first_name'))).toContainText(/required/i); 41 | 42 | await expect(page.locator(FIELD_ERROR_SELECTOR('last_name'))).toBeVisible(); at /Users/ben/dev/upskill-event-manager/wordpress-dev/tests/e2e/tests/registration.spec.ts:39:68 attachment #1: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/registration-Trainer-Regis-6f896-y-required-fields-on-submit-chromium/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── ]]> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('p.error-message[id="user_email_error"]') 68 | 69 | // Check for specific email format error message > 70 | await expect(page.locator(FIELD_ERROR_SELECTOR('user_email'))).toBeVisible(); | ^ 71 | await expect(page.locator(FIELD_ERROR_SELECTOR('user_email'))).toContainText(/valid email/i); 72 | 73 | test.fail(true, 'Test not fully implemented: Verify exact error message text.'); at /Users/ben/dev/upskill-event-manager/wordpress-dev/tests/e2e/tests/registration.spec.ts:70:68 attachment #1: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/registration-Trainer-Regis-2a010-or-for-invalid-email-format-chromium/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── ]]> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('p.error-message[id="confirm_password_error"]') 81 | 82 | // Check for password mismatch error > 83 | await expect(page.locator(FIELD_ERROR_SELECTOR('confirm_password'))).toBeVisible(); | ^ 84 | await expect(page.locator(FIELD_ERROR_SELECTOR('confirm_password'))).toContainText(/match/i); 85 | 86 | test.fail(true, 'Test not fully implemented: Verify exact error message text.'); at /Users/ben/dev/upskill-event-manager/wordpress-dev/tests/e2e/tests/registration.spec.ts:83:74 attachment #1: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/registration-Trainer-Regis-55147-error-for-password-mismatch-chromium/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── ]]> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('p.error-message[id="user_pass_error"]') 94 | 95 | // Check for weak password error message > 96 | await expect(page.locator(FIELD_ERROR_SELECTOR('user_pass'))).toBeVisible(); | ^ 97 | await expect(page.locator(FIELD_ERROR_SELECTOR('user_pass'))).toContainText(/8 characters/i); // Check against hint text 98 | 99 | test.fail(true, 'Test not fully implemented: Verify exact error message text.'); at /Users/ben/dev/upskill-event-manager/wordpress-dev/tests/e2e/tests/registration.spec.ts:96:67 attachment #1: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/registration-Trainer-Regis-d39a7-ion-error-for-weak-password-chromium/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── ]]> … - unexpected value "http://localhost:8080/trainer-registration/" 15 × locator resolved to … - unexpected value "http://localhost:8080/trainer-registration/" 140 | 141 | // Assert successful registration - Check for redirect to the pending page > 142 | await expect(page).toHaveURL(LOGIN_PAGE_URL, { timeout: 15000 }); // Increased timeout | ^ 143 | 144 | // Optional: Check for a success message on the *target* page if applicable 145 | // await expect(page.locator('h1')).toContainText(/Registration Pending/i); at /Users/ben/dev/upskill-event-manager/wordpress-dev/tests/e2e/tests/registration.spec.ts:142:24 attachment #1: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/registration-Trainer-Regis-bd09e-minimum-valid-required-data-chromium/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── ]]>