Skip to content

Fix crash when switching to code editor #102652

Fix crash when switching to code editor

Fix crash when switching to code editor #102652

Triggered via pull request April 27, 2024 04:34
Status Failure
Total duration 18m 41s
Artifacts 1

end2end-test.yml

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

Annotations

5 errors, 8 warnings, and 8 notices
[chromium] › editor/plugins/iframed-equeue-block-assets.spec.js:29:2 › iframed enqueue block assets › should load styles added through enqueue_block_assets: test/e2e/specs/editor/plugins/iframed-equeue-block-assets.spec.js#L39
1) [chromium] › editor/plugins/iframed-equeue-block-assets.spec.js:29:2 › iframed enqueue block assets › should load styles added through enqueue_block_assets Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: frameLocator('[name="editor-canvas"]').locator('body') Expected string: "Iframed Enqueue Block Assets!" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').locator('body') - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" 37 | ); 38 | await expect( canvasBody ).toHaveCSS( 'padding', '20px' ); > 39 | await expect( canvasBody ).toHaveAttribute( | ^ 40 | 'data-iframed-enqueue-block-assets-l10n', 41 | 'Iframed Enqueue Block Assets!' 42 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/iframed-equeue-block-assets.spec.js:39:30
[chromium] › editor/plugins/iframed-equeue-block-assets.spec.js:29:2 › iframed enqueue block assets › should load styles added through enqueue_block_assets: test/e2e/specs/editor/plugins/iframed-equeue-block-assets.spec.js#L39
1) [chromium] › editor/plugins/iframed-equeue-block-assets.spec.js:29:2 › iframed enqueue block assets › should load styles added through enqueue_block_assets Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: frameLocator('[name="editor-canvas"]').locator('body') Expected string: "Iframed Enqueue Block Assets!" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').locator('body') - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" 37 | ); 38 | await expect( canvasBody ).toHaveCSS( 'padding', '20px' ); > 39 | await expect( canvasBody ).toHaveAttribute( | ^ 40 | 'data-iframed-enqueue-block-assets-l10n', 41 | 'Iframed Enqueue Block Assets!' 42 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/iframed-equeue-block-assets.spec.js:39:30
[chromium] › editor/plugins/iframed-equeue-block-assets.spec.js:29:2 › iframed enqueue block assets › should load styles added through enqueue_block_assets: test/e2e/specs/editor/plugins/iframed-equeue-block-assets.spec.js#L39
1) [chromium] › editor/plugins/iframed-equeue-block-assets.spec.js:29:2 › iframed enqueue block assets › should load styles added through enqueue_block_assets Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: frameLocator('[name="editor-canvas"]').locator('body') Expected string: "Iframed Enqueue Block Assets!" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').locator('body') - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" - locator resolved to <body tabindex="0" class="block-editor-iframe__body ed…>…</body> - unexpected value "null" 37 | ); 38 | await expect( canvasBody ).toHaveCSS( 'padding', '20px' ); > 39 | await expect( canvasBody ).toHaveAttribute( | ^ 40 | 'data-iframed-enqueue-block-assets-l10n', 41 | 'Iframed Enqueue Block Assets!' 42 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/iframed-equeue-block-assets.spec.js:39:30
Playwright - 2
Process completed with exit code 1.
Report to GitHub
Unable to download artifact(s): Artifact not found for name: flaky-tests-report Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
3 skipped 181 passed (5.8m)
🎭 Playwright Run Summary
3 skipped 145 passed (7.8m)
🎭 Playwright Run Summary
185 passed (8.4m)
🎭 Playwright Run Summary
1 skipped 177 passed (8.9m)
🎭 Playwright Run Summary
11 skipped 180 passed (9.0m)
🎭 Playwright Run Summary
1 skipped 184 passed (9.3m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/plugins/iframed-equeue-block-assets.spec.js:29:2 › iframed enqueue block assets › should load styles added through enqueue_block_assets 1 skipped 190 passed (9.9m)
🎭 Playwright Run Summary
221 passed (12.0m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
4.12 MB