Fix: InnerBlocks allowed blocks change with different sizes. #81949
Annotations
10 errors and 1 notice
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L44
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:23:2 › Allowed Blocks Setting on InnerBlocks › allows all blocks if the allowed blocks setting was not set
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('document', { name: 'Empty block' })
============================================================
42 | name: 'Empty block',
43 | } )
> 44 | .click();
| ^
45 |
46 | const blockInserter = page
47 | .getByRole( 'toolbar', { name: 'Document tools' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:44:5
|
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L44
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:23:2 › Allowed Blocks Setting on InnerBlocks › allows all blocks if the allowed blocks setting was not set
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('document', { name: 'Empty block' })
============================================================
42 | name: 'Empty block',
43 | } )
> 44 | .click();
| ^
45 |
46 | const blockInserter = page
47 | .getByRole( 'toolbar', { name: 'Document tools' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:44:5
|
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L44
1) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:23:2 › Allowed Blocks Setting on InnerBlocks › allows all blocks if the allowed blocks setting was not set
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('document', { name: 'Empty block' })
============================================================
42 | name: 'Empty block',
43 | } )
> 44 | .click();
| ^
45 |
46 | const blockInserter = page
47 | .getByRole( 'toolbar', { name: 'Document tools' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:44:5
|
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L141
2) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
Error: expect(received).toHaveText(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "Gallery",
- "Video",
+ "Image",
+ "List",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 2 elements
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
139 |
140 | // It should display a different allowed block list.
> 141 | await expect( blockListBox.getByRole( 'option' ) ).toHaveText( [
| ^
142 | 'Gallery',
143 | 'Video',
144 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:141:54
|
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L141
2) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveText(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "Gallery",
- "Video",
+ "Image",
+ "List",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 2 elements
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
139 |
140 | // It should display a different allowed block list.
> 141 | await expect( blockListBox.getByRole( 'option' ) ).toHaveText( [
| ^
142 | 'Gallery',
143 | 'Video',
144 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:141:54
|
test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js#L141
2) [chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:106:2 › Allowed Blocks Setting on InnerBlocks › correctly applies dynamic allowed blocks restrictions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveText(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "Gallery",
- "Video",
+ "Image",
+ "List",
]
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 2 elements
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
- locator resolved to 2 elements
139 |
140 | // It should display a different allowed block list.
> 141 | await expect( blockListBox.getByRole( 'option' ) ).toHaveText( [
| ^
142 | 'Gallery',
143 | 'Video',
144 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/inner-blocks-allowed-blocks.spec.js:141:54
|
test/e2e/specs/editor/plugins/post-type-templates.spec.js#L27
3) [chromium] › editor/plugins/post-type-templates.spec.js:24:3 › Post type templates › Using a CPT with a predefined template › Should add a custom post types with a predefined template
Error: Snapshot comparison failed:
<!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image -->
<!-- wp:paragraph {"placeholder":"Add a book description"} -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph {"placeholder":"Add a inner paragraph"} -->
<p></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-plugins-post-type-templates-Post-type-t-150e1--a-custom-post-types-with-a-predefined-template-chromium/Post-type-templates-Using-a-CPT-with-a-predefi-fffe1--custom-post-types-with-a-predefined-template-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-plugins-post-type-templates-Post-type-t-150e1--a-custom-post-types-with-a-predefined-template-chromium/Post-type-templates-Using-a-CPT-with-a-predefi-fffe1--custom-post-types-with-a-predefined-template-1-actual.txt
25 | editor,
26 | } ) => {
> 27 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
28 | } );
29 |
30 | test( 'Should respect user edits to not re-apply template after save (single block removal)', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/post-type-templates.spec.js:27:50
|
test/e2e/specs/editor/plugins/post-type-templates.spec.js#L27
3) [chromium] › editor/plugins/post-type-templates.spec.js:24:3 › Post type templates › Using a CPT with a predefined template › Should add a custom post types with a predefined template
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image -->
<!-- wp:paragraph {"placeholder":"Add a book description"} -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph {"placeholder":"Add a inner paragraph"} -->
<p></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-plugins-post-type-templates-Post-type-t-150e1--a-custom-post-types-with-a-predefined-template-chromium-retry1/Post-type-templates-Using-a-CPT-with-a-predefi-fffe1--custom-post-types-with-a-predefined-template-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-plugins-post-type-templates-Post-type-t-150e1--a-custom-post-types-with-a-predefined-template-chromium-retry1/Post-type-templates-Using-a-CPT-with-a-predefi-fffe1--custom-post-types-with-a-predefined-template-1-actual.txt
25 | editor,
26 | } ) => {
> 27 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
28 | } );
29 |
30 | test( 'Should respect user edits to not re-apply template after save (single block removal)', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/post-type-templates.spec.js:27:50
|
test/e2e/specs/editor/plugins/post-type-templates.spec.js#L27
3) [chromium] › editor/plugins/post-type-templates.spec.js:24:3 › Post type templates › Using a CPT with a predefined template › Should add a custom post types with a predefined template
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image -->
<!-- wp:paragraph {"placeholder":"Add a book description"} -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph {"placeholder":"Add a inner paragraph"} -->
<p></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-plugins-post-type-templates-Post-type-t-150e1--a-custom-post-types-with-a-predefined-template-chromium-retry2/Post-type-templates-Using-a-CPT-with-a-predefi-fffe1--custom-post-types-with-a-predefined-template-1-expected.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-plugins-post-type-templates-Post-type-t-150e1--a-custom-post-types-with-a-predefined-template-chromium-retry2/Post-type-templates-Using-a-CPT-with-a-predefi-fffe1--custom-post-types-with-a-predefined-template-1-actual.txt
25 | editor,
26 | } ) => {
> 27 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
28 | } );
29 |
30 | test( 'Should respect user edits to not re-apply template after save (single block removal)', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/post-type-templates.spec.js:27:50
|
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
4) [chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('document', { name: 'Paragraph block' })
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-deletion.spec.js:83:16
|
19 failed
[chromium] › editor/plugins/inner-blocks-allowed-blocks.spec.js:23:2 › Allowed Blocks Setting on InnerBlocks › allows all blocks if the allowed blocks setting was not set
[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/post-type-templates.spec.js:24:3 › Post type templates › Using a CPT with a predefined template › Should add a custom post types with a predefined template
[chromium] › editor/various/block-deletion.spec.js:64:2 › Block deletion › deleting a block focuses the parent block
[chromium] › editor/various/block-hierarchy-navigation.spec.js:40:2 › Navigating the block hierarchy › should navigate using the list view sidebar
[chromium] › editor/various/block-hierarchy-navigation.spec.js:95:2 › Navigating the block hierarchy › should navigate block hierarchy using only the keyboard
[chromium] › editor/various/block-hierarchy-navigation.spec.js:188:2 › Navigating the block hierarchy › should select the wrapper div for a group
[chromium] › editor/various/block-locking.spec.js:85:2 › Block Locking › block locking supersedes template locking
[chromium] › editor/various/content-only-lock.spec.js:11:2 › Content-only lock › should be able to edit the content of blocks with content-only lock
[chromium] › editor/various/draggable-blocks.spec.js:174:2 › Draggable block › can drag and drop to the start of a horizontal block list
[chromium] › editor/various/draggable-blocks.spec.js:255:2 › Draggable block › can drag and drop to the end of a horizontal block list
[chromium] › editor/various/draggable-blocks.spec.js:340:2 › Draggable block › can drag and drop to an empty parent block like Group or Columns
[chromium] › editor/various/inner-blocks-templates.spec.js:23:2 › Inner blocks templates › applying block templates asynchronously does not create a persistent change in the editor
[chromium] › editor/various/list-view.spec.js:124:2 › List View › expands nested list items ────
[chromium] › editor/various/multi-block-selection.spec.js:245:2 › Multi-block selection › should select with shift + click
[chromium] › editor/various/multi-block-selection.spec.js:343:2 › Multi-block selection › should properly select multiple blocks if selected nested blocks belong to different parent
[chromium] › editor/various/multi-block-selection.spec.js:377:2 › Multi-block selection › should properly select part of nested rich text block while holding shift
[chromium] › editor/various/multi-block-selection.spec.js:446:2 › Multi-block selection › should select by dragging into nested block
[chromium] › editor/various/multi-block-selection.spec.js:779:2 › Multi-block selection › should gradually multi-select
183 passed (24.3m)
|
The logs for this run have expired and are no longer available.
Loading