Skip to content

Block inserter: prevent editor from crashing if blockType.parent is a string #117134

Block inserter: prevent editor from crashing if blockType.parent is a string

Block inserter: prevent editor from crashing if blockType.parent is a string #117134

Re-run triggered October 18, 2024 11:33
Status Success
Total duration 22m 26s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
8s
Merge Artifacts
Report to GitHub
4m 17s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 8 notices
[chromium] › editor/various/pattern-overrides.spec.js:30:2 › Pattern Overrides › Create a pattern with overrides: test/e2e/specs/editor/various/pattern-overrides.spec.js#L158
1) [chromium] › editor/various/pattern-overrides.spec.js:30:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Pattern' }).first().getByRole('document', { name: 'Block: Paragraph' }).last() Expected string: "true" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Pattern' }).first().getByRole('document', { name: 'Block: Paragraph' }).last() - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-3131dc6c-9077-4382-8249-a50b33b328f3" data-block="3131dc6c-9077-4382-8249-a50b33b328f3" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-3131dc6c-9077-4382-8249-a50b33b328f3" data-block="3131dc6c-9077-4382-8249-a50b33b328f3" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-3131dc6c-9077-4382-8249-a50b33b328f3" data-block="3131dc6c-9077-4382-8249-a50b33b328f3" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-3131dc6c-9077-4382-8249-a50b33b328f3" data-block="3131dc6c-9077-4382-8249-a50b33b328f3" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-3131dc6c-9077-4382-8249-a50b33b328f3" data-block="3131dc6c-9077-4382-8249-a50b33b328f3" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-3131dc6c-9077-4382-8249-a50b33b328f3" data-block="3131dc6c-9077-4382-8249-a50b33b328f3" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-editing-disabled wp-block-paragraph rich-text">This one can't</p> - unexpected value "null" - locator resolved to <p tabindex="-1" role="document" data-empty="false" aria-multiline="true" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-a
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation: test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'For a specific item' }) 42 | await page 43 | .getByRole( 'button', { name: 'For a specific item' } ) > 44 | .click(); | ^ 45 | await page.getByRole( 'option', { name: 'Demo' } ).click(); 46 | await expect( page ).toHaveURL( 47 | '/wp-admin/site-editor.php?postId=emptytheme%2F%2Fsingle-post-demo&postType=wp_template&canvas=edit' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
🎭 Playwright Run Summary
1 skipped 194 passed (9.4m)
🎭 Playwright Run Summary
200 passed (10.3m)
🎭 Playwright Run Summary
1 skipped 200 passed (9.8m)
🎭 Playwright Run Summary
1 skipped 195 passed (9.0m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/various/pattern-overrides.spec.js:30:2 › Pattern Overrides › Create a pattern with overrides 1 skipped 186 passed (9.7m)
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation 2 skipped 193 passed (6.7m)
🎭 Playwright Run Summary
3 skipped 187 passed (10.2m)
🎭 Playwright Run Summary
1 skipped 197 passed (10.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
4.19 MB
flaky-tests-report
2.37 KB