Skip to content

Migrate 'autosave' e2e tests to Playwright #94295

Migrate 'autosave' e2e tests to Playwright

Migrate 'autosave' e2e tests to Playwright #94295

Triggered via pull request January 24, 2024 10:39
Status Failure
Total duration 19m 5s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
3m 34s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 notices
[chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter: test/e2e/specs/widgets/editing-widgets.spec.js#L1
1) [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter { code: 'internal_server_error', message: '<p>There has been a critical error on this website.</p><p><a href="https://wordpress.org/documentation/article/faq-troubleshooting/">Learn more about troubleshooting WordPress.</a></p>', data: { status: 500 }, additional_errors: [] }
Playwright - 3
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › editor/various/block-deletion.spec.js:11:2 › Block deletion › deleting the last block via its options menu: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
1) [chromium] › editor/various/block-deletion.spec.js:11:2 › Block deletion › deleting the last block via its options menu Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:11:2 › Block deletion › deleting the last block via its options menu: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
1) [chromium] › editor/various/block-deletion.spec.js:11:2 › Block deletion › deleting the last block via its options menu Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:11:2 › Block deletion › deleting the last block via its options menu: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
1) [chromium] › editor/various/block-deletion.spec.js:11:2 › Block deletion › deleting the last block via its options menu Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
2) [chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
2) [chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
2) [chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:108:2 › Block deletion › deleting the last block via the keyboard shortcut: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
3) [chromium] › editor/various/block-deletion.spec.js:108:2 › Block deletion › deleting the last block via the keyboard shortcut Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:108:2 › Block deletion › deleting the last block via the keyboard shortcut: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
3) [chromium] › editor/various/block-deletion.spec.js:108:2 › Block deletion › deleting the last block via the keyboard shortcut Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:108:2 › Block deletion › deleting the last block via the keyboard shortcut: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
3) [chromium] › editor/various/block-deletion.spec.js:108:2 › Block deletion › deleting the last block via the keyboard shortcut Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
[chromium] › editor/various/block-deletion.spec.js:156:2 › Block deletion › deleting the last block via backspace from an empty paragraph: packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts#L36
4) [chromium] › editor/various/block-deletion.spec.js:156:2 › Block deletion › deleting the last block via backspace from an empty paragraph Error: Not logged in at ../../../packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36 34 | 35 | if ( this.pageUtils.isCurrentURL( 'wp-login.php' ) ) { > 36 | throw new Error( 'Not logged in' ); | ^ 37 | } 38 | 39 | const error = await this.getPageError(); at Admin.visitAdminPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9) at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.ts:32:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:8:3
🎭 Playwright Run Summary
1 flaky [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter 4 skipped 118 passed (6.1m)
🎭 Playwright Run Summary
178 passed (7.1m)
🎭 Playwright Run Summary
1 skipped 143 passed (7.0m)
🎭 Playwright Run Summary
3 skipped 119 passed (7.2m)
🎭 Playwright Run Summary
135 passed (7.1m)
🎭 Playwright Run Summary
1 skipped 180 passed (8.0m)
🎭 Playwright Run Summary
11 skipped 152 passed (7.7m)
🎭 Playwright Run Summary
24 failed [chromium] › editor/various/block-deletion.spec.js:11:2 › Block deletion › deleting the last block via its options menu [chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block [chromium] › editor/various/block-deletion.spec.js:108:2 › Block deletion › deleting the last block via the keyboard shortcut [chromium] › editor/various/block-deletion.spec.js:156:2 › Block deletion › deleting the last block via backspace from an empty paragraph [chromium] › editor/various/block-deletion.spec.js:198:2 › Block deletion › deleting last selected block via backspace [chromium] › editor/various/block-deletion.spec.js:243:2 › Block deletion › deleting the last two selected blocks via backspace [chromium] › editor/various/block-deletion.spec.js:302:2 › Block deletion › deleting all blocks [chromium] › editor/various/block-deletion.spec.js:338:2 › Block deletion › deleting all blocks when the default block is unavailable [chromium] › editor/various/block-editor-keyboard-shortcuts.spec.js:25:3 › Block editor keyboard shortcuts › move blocks - single block selected › should move the block up [chromium] › editor/various/block-editor-keyboard-shortcuts.spec.js:49:3 › Block editor keyboard shortcuts › move blocks - single block selected › should move the block down [chromium] › editor/various/block-editor-keyboard-shortcuts.spec.js:76:3 › Block editor keyboard shortcuts › move blocks - multiple blocks selected › should move the blocks up [chromium] › editor/various/block-editor-keyboard-shortcuts.spec.js:106:3 › Block editor keyboard shortcuts › move blocks - multiple blocks selected › should move the blocks down [chromium] › editor/various/block-editor-keyboard-shortcuts.spec.js:139:3 › Block editor keyboard shortcuts › test shortcuts handling through portals in the same tree › should propagate properly and duplicate selected blocks [chromium] › editor/various/block-editor-keyboard-shortcuts.spec.js:180:3 › Block editor keyboard shortcuts › test shortcuts handling through portals in the same tree › should prevent deleting multiple selected blocks from inputs [chromium] › editor/various/block-grouping.spec.js:21:3 › Block Grouping › Group creation › creates a group from multiple blocks of the same type via block transforms [chromium] › editor/various/block-grouping.spec.js:61:3 › Block Grouping › Group creation › creates a group from multiple blocks of different types via block transforms [chromium] › editor/various/block-grouping.spec.js:100:3 › Block Grouping › Group creation › creates a group from multiple blocks of the same type via options toolbar [chromium] › editor/various/block-grouping.spec.js:131:3 › Block Grouping › Group creation › groups and ungroups multiple blocks of different types via options toolbar [chromium] › editor/various/block-grouping.spec.js:177:3 › Block Grouping › Group creation › does not allow ungrouping a group block that has no children [chromium] › editor/various/block-grouping.spec.js:190:3 › Block Grouping › Group creation › should group and ungroup a controlled block properly [chromium] › editor/various/block-grouping.spec.js:220:3 › Block Grouping › Group creation › should group another Group block via options toolbar [chromium] › editor/various/block-grouping.spec.js:279:3 › Block Grouping › Grouping Block availability › does not show group transform if Grouping block is disabled [chromium] › editor/various/block-grouping.spec.js:294:3 › Block Grouping › Grouping Block availability › does not show group option in the options toolbar if Grouping block is disabled [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks 143 passed (8.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
2.05 MB
flaky-tests-report Expired
745 Bytes