Lazy load block edit functions #88917
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/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Select parent block: Allowed Blocks Dynamic"]')
============================================================
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 /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:133:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Select parent block: Allowed Blocks Dynamic"]')
============================================================
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 /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:133:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Select parent block: Allowed Blocks Dynamic"]')
============================================================
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 /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:133:3
|
Run the tests:
test/e2e/specs/editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js#L135
2) [chromium] › editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js:116:3 › Prioritized Inserter Blocks Setting on InnerBlocks › Slash inserter › uses the priority ordering if prioritzed blocks setting is set
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('listbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('listbox')
133 |
134 | const blockAutocompleter = page.getByRole( 'listbox' );
> 135 | await expect( blockAutocompleter ).toBeVisible();
| ^
136 |
137 | // Default suggested blocks number.
138 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js:135:39
|
Run the tests:
test/e2e/specs/editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js#L135
2) [chromium] › editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js:116:3 › Prioritized Inserter Blocks Setting on InnerBlocks › Slash inserter › uses the priority ordering if prioritzed blocks setting is set
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('listbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('listbox')
133 |
134 | const blockAutocompleter = page.getByRole( 'listbox' );
> 135 | await expect( blockAutocompleter ).toBeVisible();
| ^
136 |
137 | // Default suggested blocks number.
138 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js:135:39
|
Run the tests:
test/e2e/specs/editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js#L135
2) [chromium] › editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js:116:3 › Prioritized Inserter Blocks Setting on InnerBlocks › Slash inserter › uses the priority ordering if prioritzed blocks setting is set
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('listbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('listbox')
133 |
134 | const blockAutocompleter = page.getByRole( 'listbox' );
> 135 | await expect( blockAutocompleter ).toBeVisible();
| ^
136 |
137 | // Default suggested blocks number.
138 | await expect(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js:135:39
|
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>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/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>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/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>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#L138
4) [chromium] › editor/various/copy-cut-paste.spec.js:120:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas
Error: Snapshot comparison failed:
<!-- wp:shortcode -->
[my-shortcode]t
<!-- /wp:shortcode -->
<!-- wp:paragraph -->
<p>Pasted: e]</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-respect-inline-copy-in-places-like-input-fields-and-textareas-2-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-216cb--copy-in-places-like-input-fields-and-textareas-chromium/Copy-cut-paste-should-respect-inline-copy-in-places-like-input-fields-and-textareas-2-actual.txt
136 | await page.keyboard.type( 'Pasted: ' );
137 | await pageUtils.pressKeys( 'primary+v' );
> 138 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
139 | } );
140 |
141 | test( 'should handle paste events once', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:138:49
|
Run the tests
26 failed
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
[chromium] › editor/plugins/inner-blocks-prioritized-inserter-blocks.spec.js:116:3 › Prioritized Inserter Blocks Setting on InnerBlocks › Slash inserter › uses the priority ordering if prioritzed blocks setting is set
[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:120:2 › Copy/cut/paste › should respect inline copy in places like input fields and textareas
[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/duplicating-blocks.spec.js:11:2 › Duplicating blocks › should duplicate blocks using the block settings menu and keyboard shortcut
[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/navigable-toolbar.spec.js:116:2 › Block Toolbar › should focus with Shift+Tab
2 flaky
[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:54:3 › Block Toolbar › Contextual Toolbar › can navigate to the block toolbar and back to block using the keyboard
232 passed (19.8m)
|
The logs for this run have expired and are no longer available.
Loading