Skip to content

Adds AI REST endpoints and JS client #51037

Adds AI REST endpoints and JS client

Adds AI REST endpoints and JS client #51037

Triggered via pull request February 20, 2026 08:53
Status Failure
Total duration 8m 37s
Artifacts 2

end-to-end-tests.yml

on: pull_request
Matrix: e2e-tests
Slack Notifications  /  Prepare notifications
Slack Notifications / Prepare notifications
Slack Notifications  /  Cancelled notifications
Slack Notifications / Cancelled notifications
Slack Notifications  /  Failure notifications
Slack Notifications / Failure notifications
Slack Notifications  /  Fixed notifications
Slack Notifications / Fixed notifications
Slack Notifications  /  Success notifications
Slack Notifications / Success notifications
Failed workflow tasks
Failed workflow tasks
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 notices
[chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials: tests/e2e/specs/install.test.js#L40
4) [chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials Error: should redirect to the installation page expect(page).toHaveURL(expected) failed Expected pattern: /wp-admin\/install\.php$/ Received string: "http://localhost:8889/" Timeout: 5000ms Call log: - should redirect to the installation page with timeout 5000ms 9 × unexpected value "http://localhost:8889/" 38 | page, 39 | 'should redirect to the installation page' > 40 | ).toHaveURL( /wp-admin\/install\.php$/ ); | ^ 41 | 42 | await expect( 43 | page.getByText( /WordPress database error/ ), at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/install.test.js:40:5
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
3) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary" Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
3) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
3) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary" TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
2) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0" Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
2) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
2) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0" TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
1) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "" Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
1) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
1) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "" TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials: tests/e2e/specs/install.test.js#L40
4) [chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials Error: should redirect to the installation page expect(page).toHaveURL(expected) failed Expected pattern: /wp-admin\/install\.php$/ Received string: "http://localhost:8889/" Timeout: 5000ms Call log: - should redirect to the installation page with timeout 5000ms 9 × unexpected value "http://localhost:8889/" 38 | page, 39 | 'should redirect to the installation page' > 40 | ).toHaveURL( /wp-admin\/install\.php$/ ); | ^ 41 | 42 | await expect( 43 | page.getByText( /WordPress database error/ ), at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/install.test.js:40:5
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
3) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary" Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
3) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
3) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary" TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
2) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0" Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
2) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
2) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0" TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
1) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "" Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
1) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
[chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "": tests/e2e/specs/general-settings-invalid-timezone.test.js#L17
1) [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "" TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('#timezone_string') 15 | 16 | // Set the timezone to an invalid value. > 17 | await page.locator( '#timezone_string' ).evaluate( ( timezone, invalidTimezone ) => { | ^ 18 | timezone.options[0].value = invalidTimezone; 19 | timezone.value = invalidTimezone; 20 | }, invalidTimezone ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/general-settings-invalid-timezone.test.js:17:45
🎭 Playwright Run Summary
3 failed [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "" [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0" [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary" 2 flaky [chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly 20 passed (2.8m)
🎭 Playwright Run Summary
3 failed [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "" [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "0" [chromium] › tests/e2e/specs/general-settings-invalid-timezone.test.js:7:7 › Settings -> General › Does not allow saving an invalid timezone string with "Barry/Gary" 2 flaky [chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly 20 passed (2.6m)

Artifacts

Produced during runtime
Name Size Digest
failures-artifacts-22217626141
7.6 MB
sha256:0147cfa3c2ad0d7cb93605a7f67ad47364b4b82ae363b4fad36bd115df2ff046
failures-artifacts-SCRIPT_DEBUG-22217626141
7.85 MB
sha256:f984597faa36c4029f9bcda946295dbc9a176ea614dcafa694e0f41a93ccd0a5