Skip to content

HTML API: Add custom text decoder #30362

HTML API: Add custom text decoder

HTML API: Add custom text decoder #30362

Triggered via pull request April 13, 2024 09:55
Status Failure
Total duration 8m 12s
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
0s
Failed workflow tasks
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 notice
E2E Tests with SCRIPT_DEBUG disabled
Error: The theme "twentytwentyone" is not installed at ../config/global-setup.js:33 31 | 32 | // Reset the test environment before running the tests. > 33 | await Promise.all( [ | ^ 34 | requestUtils.activateTheme( 'twentytwentyone' ), 35 | requestUtils.deleteAllPosts(), 36 | requestUtils.deleteAllBlocks(), at RequestUtils.activateTheme (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/request-utils/themes.ts:28:9) at globalSetup (/home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/config/global-setup.js:33:2)
E2E Tests with SCRIPT_DEBUG disabled
Process completed with exit code 1.
[chromium] › cache-control-headers-directives.test.js:11:6 › Cache Control header directives › No private directive present in cache control when user not logged in.: tests/e2e/specs/cache-control-headers-directives.test.js#L15
1) [chromium] › cache-control-headers-directives.test.js:11:6 › Cache Control header directives › No private directive present in cache control when user not logged in. TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 13 | async ( { browser, admin, editor} 14 | ) => { > 15 | await admin.createNewPost( { title: 'Hello World' } ); | ^ 16 | await editor.publishPost(); 17 | 18 | await admin.visitAdminPage( '/' ); at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/cache-control-headers-directives.test.js:15:3
[chromium] › cache-control-headers-directives.test.js:11:6 › Cache Control header directives › No private directive present in cache control when user not logged in.: tests/e2e/specs/cache-control-headers-directives.test.js#L15
1) [chromium] › cache-control-headers-directives.test.js:11:6 › Cache Control header directives › No private directive present in cache control when user not logged in. Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 13 | async ( { browser, admin, editor} 14 | ) => { > 15 | await admin.createNewPost( { title: 'Hello World' } ); | ^ 16 | await editor.publishPost(); 17 | 18 | await admin.visitAdminPage( '/' ); at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/cache-control-headers-directives.test.js:15:3
[chromium] › cache-control-headers-directives.test.js:11:6 › Cache Control header directives › No private directive present in cache control when user not logged in.: tests/e2e/specs/cache-control-headers-directives.test.js#L15
1) [chromium] › cache-control-headers-directives.test.js:11:6 › Cache Control header directives › No private directive present in cache control when user not logged in. Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 13 | async ( { browser, admin, editor} 14 | ) => { > 15 | await admin.createNewPost( { title: 'Hello World' } ); | ^ 16 | await editor.publishPost(); 17 | 18 | await admin.visitAdminPage( '/' ); at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/cache-control-headers-directives.test.js:15:3
[chromium] › edit-posts.test.js:21:6 › Edit Posts › shows a single post after one is published with the correct title: tests/e2e/specs/edit-posts.test.js#L27
2) [chromium] › edit-posts.test.js:21:6 › Edit Posts › shows a single post after one is published with the correct title TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 25 | } ) => { 26 | const title = 'Test Title'; > 27 | await admin.createNewPost( { title } ); | ^ 28 | await editor.publishPost(); 29 | await admin.visitAdminPage( '/edit.php' ); 30 | at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:27:3
[chromium] › edit-posts.test.js:21:6 › Edit Posts › shows a single post after one is published with the correct title: tests/e2e/specs/edit-posts.test.js#L27
2) [chromium] › edit-posts.test.js:21:6 › Edit Posts › shows a single post after one is published with the correct title Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 25 | } ) => { 26 | const title = 'Test Title'; > 27 | await admin.createNewPost( { title } ); | ^ 28 | await editor.publishPost(); 29 | await admin.visitAdminPage( '/edit.php' ); 30 | at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:27:3
[chromium] › edit-posts.test.js:21:6 › Edit Posts › shows a single post after one is published with the correct title: tests/e2e/specs/edit-posts.test.js#L27
2) [chromium] › edit-posts.test.js:21:6 › Edit Posts › shows a single post after one is published with the correct title Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 25 | } ) => { 26 | const title = 'Test Title'; > 27 | await admin.createNewPost( { title } ); | ^ 28 | await editor.publishPost(); 29 | await admin.visitAdminPage( '/edit.php' ); 30 | at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:27:3
[chromium] › edit-posts.test.js:42:6 › Edit Posts › allows an existing post to be edited using the Edit button: tests/e2e/specs/edit-posts.test.js#L48
3) [chromium] › edit-posts.test.js:42:6 › Edit Posts › allows an existing post to be edited using the Edit button TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 46 | } ) => { 47 | const title = 'Test Title'; > 48 | await admin.createNewPost( { title } ); | ^ 49 | await editor.publishPost(); 50 | await admin.visitAdminPage( '/edit.php' ); 51 | at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:48:3
[chromium] › edit-posts.test.js:42:6 › Edit Posts › allows an existing post to be edited using the Edit button: tests/e2e/specs/edit-posts.test.js#L48
3) [chromium] › edit-posts.test.js:42:6 › Edit Posts › allows an existing post to be edited using the Edit button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 46 | } ) => { 47 | const title = 'Test Title'; > 48 | await admin.createNewPost( { title } ); | ^ 49 | await editor.publishPost(); 50 | await admin.visitAdminPage( '/edit.php' ); 51 | at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:48:3
[chromium] › edit-posts.test.js:42:6 › Edit Posts › allows an existing post to be edited using the Edit button: tests/e2e/specs/edit-posts.test.js#L48
3) [chromium] › edit-posts.test.js:42:6 › Edit Posts › allows an existing post to be edited using the Edit button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 46 | } ) => { 47 | const title = 'Test Title'; > 48 | await admin.createNewPost( { title } ); | ^ 49 | await editor.publishPost(); 50 | await admin.visitAdminPage( '/edit.php' ); 51 | at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:48:3
[chromium] › edit-posts.test.js:72:6 › Edit Posts › allows an existing post to be quick edited using the Quick Edit button: tests/e2e/specs/edit-posts.test.js#L79
4) [chromium] › edit-posts.test.js:72:6 › Edit Posts › allows an existing post to be quick edited using the Quick Edit button TimeoutError: page.waitForFunction: Timeout 10000ms exceeded. 77 | } ) => { 78 | const title = 'Test Title'; > 79 | await admin.createNewPost( { title } ); | ^ 80 | await editor.publishPost(); 81 | await admin.visitAdminPage( '/edit.php' ); 82 | at Editor.setPreferences (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/set-preferences.ts:23:18) at Admin.createNewPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/create-new-post.ts:34:20) at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:79:3
🎭 Playwright Run Summary
7 failed [chromium] › cache-control-headers-directives.test.js:11:6 › Cache Control header directives › No private directive present in cache control when user not logged in. [chromium] › edit-posts.test.js:21:6 › Edit Posts › shows a single post after one is published with the correct title [chromium] › edit-posts.test.js:42:6 › Edit Posts › allows an existing post to be edited using the Edit button [chromium] › edit-posts.test.js:72:6 › Edit Posts › allows an existing post to be quick edited using the Quick Edit button [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button [chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ──────── [chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post ─ 1 flaky [chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password 12 passed (4.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts-8672693724 Expired
601 Bytes
failures-artifacts-SCRIPT_DEBUG-8672693724 Expired
6.47 MB