Just a change to prove a point via a PR. #6135
end-to-end-tests.yml
on: pull_request
Matrix: e2e-tests
Slack Notifications
/
Cancelled notifications
Slack Notifications
/
Failure notifications
Slack Notifications
/
Fixed notifications
Slack Notifications
/
Success notifications
Failed workflow tasks
Annotations
5 errors and 2 notices
|
[chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly:
tests/e2e/specs/media-upload.test.js#L14
2) [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Not logged in
12 | // Log in before visiting admin page.
13 | await requestUtils.login();
> 14 | await admin.visitAdminPage( '/media-new.php' );
| ^
15 |
16 | // It takes a moment for the multi-file uploader to become available.
17 | await page.waitForLoadState('load');
at Admin.visitAdminPage (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-upload.test.js:14:2
|
|
[chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly:
tests/e2e/specs/media-upload.test.js#L14
2) [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly
Error: Not logged in
12 | // Log in before visiting admin page.
13 | await requestUtils.login();
> 14 | await admin.visitAdminPage( '/media-new.php' );
| ^
15 |
16 | // It takes a moment for the multi-file uploader to become available.
17 | await page.waitForLoadState('load');
at Admin.visitAdminPage (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-upload.test.js:14:2
|
|
[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
1) [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
Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /wp-admin\/install\.php$/
Received string: "http://localhost:8889/"
Call log:
- should redirect to the installation page with timeout 5000ms
- waiting for locator(':root')
9 × locator resolved to <html lang="en-US">…</html>
- 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/media-upload.test.js:11:5 › Test dismissing failed upload works correctly:
tests/e2e/specs/media-upload.test.js#L13
2) [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly
Error: apiRequestContext.get: 400 Bad Request
Response text:
0
Call log:
- → GET http://localhost:8889/wp-admin/admin-ajax.php?action=rest-nonce
- user-agent: Playwright/1.50.1 (x64; ubuntu 24.04) node/20.19 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1751591753%7CAPifdyeEyOEOdQ3TTExU6HHVbxq4s9D2yPkXgYRoQ0D%7C82c13a905add4c37ce4d9b0506c78cf16fa905e09075ba6408c25a19d5063f26; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1751591753%7CAPifdyeEyOEOdQ3TTExU6HHVbxq4s9D2yPkXgYRoQ0D%7C74bbd01491ed9a106ec156390a0b7ad1a0b04d1e59e907ec9ccaa277b6d2bfce; wp-settings-time-1=1751418954
- ← 400 Bad Request
- server: nginx/1.29.0
- date: Wed, 02 Jul 2025 01:15:54 GMT
- content-type: text/html; charset=UTF-8
- transfer-encoding: chunked
- connection: keep-alive
- x-powered-by: PHP/8.2.28
- x-robots-tag: noindex
- x-content-type-options: nosniff
- referrer-policy: strict-origin-when-cross-origin
- x-frame-options: SAMEORIGIN
- expires: Wed, 11 Jan 1984 05:00:00 GMT
- cache-control: no-cache, must-revalidate, max-age=0, no-store, private
11 | test( 'Test dismissing failed upload works correctly', async ({ page, admin, requestUtils }) => {
12 | // Log in before visiting admin page.
> 13 | await requestUtils.login();
| ^
14 | await admin.visitAdminPage( '/media-new.php' );
15 |
16 | // It takes a moment for the multi-file uploader to become available.
at RequestUtils.login (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/request-utils/login.ts:23:32)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-upload.test.js:13:2
|
|
[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
1) [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
Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /wp-admin\/install\.php$/
Received string: "http://localhost:8889/"
Call log:
- should redirect to the installation page with timeout 5000ms
- waiting for locator(':root')
9 × locator resolved to <html lang="en-US">…</html>
- 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
|
|
🎭 Playwright Run Summary
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
23 passed (41.9s)
|
|
🎭 Playwright Run Summary
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
23 passed (55.0s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
failures-artifacts-16013703740
Expired
|
726 KB |
sha256:f029a1ba786167d3f3f43c4ba8b8ef39c49f27daa6807bdfcc696bd874acdf73
|
|
|
failures-artifacts-SCRIPT_DEBUG-16013703740
Expired
|
492 KB |
sha256:4c4337bf74838c323172575619f1b630ce7d9d5cbc5d826814711f33d3db3bd6
|
|