Fix problem with encoding of css entities when post with existing block level custom css is edited by user without unfiltered_html #52166
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
0s
Annotations
4 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#L13
2) [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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.56.1 (x64; ubuntu 24.04) node/20.20 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1773286777%7Cjw1njBdJSSfOxU9jB34tnQMLUTTAMntjG6Do3MccPJv%7C74c39eea25ca7718f8cef6e458ae00b9dc5f816f70b3d706675b43b426ec42b6; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1773286777%7Cjw1njBdJSSfOxU9jB34tnQMLUTTAMntjG6Do3MccPJv%7Ca4b1fabd4bfa17f619088d782a4e1049285e7c5ddebce63c8f300071f49c8774; wp-settings-time-1=1773113977
- ← 400 Bad Request
- server: nginx/1.29.5
- date: Tue, 10 Mar 2026 03:39:38 GMT
- content-type: text/html; charset=UTF-8
- transfer-encoding: chunked
- connection: keep-alive
- x-powered-by: PHP/8.3.30
- x-robots-tag: noindex
- x-content-type-options: nosniff
- referrer-policy: strict-origin-when-cross-origin
- x-frame-options: SAMEORIGIN
- content-security-policy: frame-ancestors 'self';
- 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/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
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/media-upload.test.js:11:5 › Test dismissing failed upload works correctly:
tests/e2e/specs/media-upload.test.js#L14
1) [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
|
|
🎭 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 (56.5s)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly
24 passed (1.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
failures-artifacts-22885826449
|
602 KB |
sha256:b937aca4dc80c222a574a93d57b2f01a57f2350a8a8fd2d52640105ba681c787
|
|
|
failures-artifacts-SCRIPT_DEBUG-22885826449
|
215 KB |
sha256:80648b788eb13421cfe9332d82646c7b7be83c32dc4775f106a5366e09fdb543
|
|