Lazy load block edit functions #89479
Annotations
10 errors and 1 notice
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/various/block-renaming.spec.js:34:3 › Block Renaming › Dialog renaming › allows renaming of blocks that support the feature via dialog-based UI
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:13:2)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-renaming.spec.js:57:4
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/various/block-renaming.spec.js:34:3 › Block Renaming › Dialog renaming › allows renaming of blocks that support the feature via dialog-based UI
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:13:2)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-renaming.spec.js:57:4
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/various/block-renaming.spec.js:34:3 › Block Renaming › Dialog renaming › allows renaming of blocks that support the feature via dialog-based UI
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:13:2)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-renaming.spec.js:57:4
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/various/block-renaming.spec.js:246:3 › Block Renaming › Block inspector renaming › allows renaming of blocks that support the feature via "Advanced" section of block inspector tools
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:13:2)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-renaming.spec.js:259:4
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/various/block-renaming.spec.js:246:3 › Block Renaming › Block inspector renaming › allows renaming of blocks that support the feature via "Advanced" section of block inspector tools
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:13:2)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-renaming.spec.js:259:4
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/various/block-renaming.spec.js:246:3 › Block Renaming › Block inspector renaming › allows renaming of blocks that support the feature via "Advanced" section of block inspector tools
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:13:2)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-renaming.spec.js:259:4
|
Run the tests:
test/e2e/specs/editor/various/convert-block-type.spec.js#L26
3) [chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:code -->
- <pre class="wp-block-code"><code>print "Hello Dolly!"</code></pre>
+ <pre class="wp-block-code"><code>llo Dolly!"</code></pre>
<!-- /wp:code -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
24 | // Verify the content starts out as a Code block.
25 |
> 26 | await expect.poll( editor.getEditedPostContent ).toBe( `<!-- wp:code -->
| ^
27 | <pre class="wp-block-code"><code>${ code }</code></pre>
28 | <!-- /wp:code -->` );
29 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/convert-block-type.spec.js:26:52
|
Run the tests:
test/e2e/specs/editor/various/convert-block-type.spec.js#L26
3) [chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:code -->
- <pre class="wp-block-code"><code>print "Hello Dolly!"</code></pre>
+ <pre class="wp-block-code"><code>nt "Hello Dolly!"</code></pre>
<!-- /wp:code -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
24 | // Verify the content starts out as a Code block.
25 |
> 26 | await expect.poll( editor.getEditedPostContent ).toBe( `<!-- wp:code -->
| ^
27 | <pre class="wp-block-code"><code>${ code }</code></pre>
28 | <!-- /wp:code -->` );
29 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/convert-block-type.spec.js:26:52
|
Run the tests:
test/e2e/specs/editor/various/convert-block-type.spec.js#L26
3) [chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:code -->
- <pre class="wp-block-code"><code>print "Hello Dolly!"</code></pre>
+ <pre class="wp-block-code"><code>int "Hello Dolly!"</code></pre>
<!-- /wp:code -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
24 | // Verify the content starts out as a Code block.
25 |
> 26 | await expect.poll( editor.getEditedPostContent ).toBe( `<!-- wp:code -->
| ^
27 | <pre class="wp-block-code"><code>${ code }</code></pre>
28 | <!-- /wp:code -->` );
29 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/convert-block-type.spec.js:26:52
|
Run the tests:
test/e2e/specs/editor/various/copy-cut-paste.spec.js#L392
4) [chromium] › editor/various/copy-cut-paste.spec.js:383:2 › Copy/cut/paste › should cut partial selection and merge like a normal `delete` - not forward
Error: Snapshot comparison failed:
<!-- wp:heading -->
<h2 class="wp-block-heading">HeadingParagraph</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Paragraph</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-cut-partial-selection-and-merge-like-a-normal-delete---not-forward-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-9fc9d-n-and-merge-like-a-normal-delete---not-forward--chromium/Copy-cut-paste-should-cut-partial-selection-and-merge-like-a-normal-delete---not-forward-1-actual.txt
390 | await page.keyboard.press( 'Enter' );
391 | await page.keyboard.type( 'Paragraph' );
> 392 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
393 | // Partial select from outer blocks.
394 | await pageUtils.pressKeys( 'ArrowLeft', { times: 2 } );
395 | await pageUtils.pressKeys( 'shift+ArrowUp' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:392:49
|
Run the tests
25 failed
[chromium] › editor/various/block-renaming.spec.js:34:3 › Block Renaming › Dialog renaming › allows renaming of blocks that support the feature via dialog-based UI
[chromium] › editor/various/block-renaming.spec.js:246:3 › Block Renaming › Block inspector renaming › allows renaming of blocks that support the feature via "Advanced" section of block inspector tools
[chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block
[chromium] › editor/various/copy-cut-paste.spec.js:383:2 › Copy/cut/paste › should cut partial selection and merge like a normal `delete` - not forward
[chromium] › editor/various/copy-cut-paste.spec.js:414:2 › Copy/cut/paste › should paste plain text in plain text context when cross block selection is copied
[chromium] › editor/various/copy-cut-paste.spec.js:485:2 › Copy/cut/paste › should paste preformatted in list
[chromium] › editor/various/copy-cut-paste.spec.js:500:2 › Copy/cut/paste › should link selection
[chromium] › editor/various/copy-cut-paste.spec.js:521:2 › Copy/cut/paste › should auto-link ───
[chromium] › editor/various/copy-cut-paste.spec.js:542:2 › Copy/cut/paste › should embed on paste
[chromium] › editor/various/copy-cut-paste.spec.js:554:2 › Copy/cut/paste › should not link selection for non http(s) protocol
[chromium] › editor/various/draggable-blocks.spec.js:26:2 › Draggable block › can drag and drop to the top of a vertical block list
[chromium] › editor/various/draggable-blocks.spec.js:98:2 › Draggable block › can drag and drop to the bottom of a vertical block list
[chromium] › editor/various/footnotes.spec.js:29:2 › Footnotes › can be inserted ───────────────
[chromium] › editor/various/footnotes.spec.js:190:2 › Footnotes › can be inserted in a list ────
[chromium] › editor/various/footnotes.spec.js:229:2 › Footnotes › can be inserted in a table ───
[chromium] › editor/various/footnotes.spec.js:290:2 › Footnotes › works with revisions ─────────
[chromium] › editor/various/footnotes.spec.js:393:2 › Footnotes › can be previewed when published
[chromium] › editor/various/keep-styles-on-block-transforms.spec.js:11:2 › Keep styles on block transforms › Should keep colors during a transform
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:83:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected (reverse)
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:166:2 › Order of block keyboard navigation › allows the first element within a block to receive focus
[chromium] › editor/various/list-view.spec.js:197:2 › List View › moves focus to start/end of list with Home/End keys
[chromium] › editor/various/list-view.spec.js:424:2 › List View › should select, duplicate, delete, and deselect blocks using keyboard
[chromium] › editor/various/multi-block-selection.spec.js:425:2 › Multi-block selection › should select by dragging into nested block
[chromium] › editor/various/navigable-toolbar.spec.js:116:2 › Block Toolbar › should focus with Shift+Tab
3 flaky
[chromium] › editor/various/duplicating-blocks.spec.js:11:2 › Duplicating blocks › should duplicate blocks using the block settings menu and keyboard shortcut
[chromium] › editor/various/multi-block-selection.spec.js:1220:3 › Multi-block selection › shift+click multi-selection › should multi-select block with text selection and a block without text selection
[chromium] › editor/various/navigable-toolbar.spec.js:54:3 › Block Toolbar › Contextual Toolbar › can navigate to the block toolbar and back to block using the keyboard
103 passed (13.7m)
|
The logs for this run have expired and are no longer available.
Loading