Block editor: hooks: early returns for getEditWrapperProps filters #90273
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/group.spec.js#L80
1) [chromium] › editor/blocks/group.spec.js:64:2 › Group › can have other blocks appended to it using the button appender
Error: Snapshot comparison failed:
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">Group Block with a Paragraph</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Group-can-have-other-blocks-appended-to-it-using-the-button-appender-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-group-Group-can-have-other-blocks-appended-to-it-using-the-button-appender-chromium/Group-can-have-other-blocks-appended-to-it-using-the-button-appender-1-actual.txt
78 | await page.keyboard.type( 'Group Block with a Paragraph' );
79 |
> 80 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
81 | } );
82 |
83 | test( 'can merge into group with Backspace', async ( { editor, page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/group.spec.js:80:49
|
Run the tests:
test/e2e/specs/editor/blocks/group.spec.js#L80
1) [chromium] › editor/blocks/group.spec.js:64:2 › Group › can have other blocks appended to it using the button appender
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">Group Block with a Paragraph</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Group-can-have-other-blocks-appended-to-it-using-the-button-appender-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-group-Group-can-have-other-blocks-appended-to-it-using-the-button-appender-chromium-retry1/Group-can-have-other-blocks-appended-to-it-using-the-button-appender-1-actual.txt
78 | await page.keyboard.type( 'Group Block with a Paragraph' );
79 |
> 80 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
81 | } );
82 |
83 | test( 'can merge into group with Backspace', async ( { editor, page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/group.spec.js:80:49
|
Run the tests:
test/e2e/specs/editor/blocks/group.spec.js#L80
1) [chromium] › editor/blocks/group.spec.js:64:2 › Group › can have other blocks appended to it using the button appender
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">Group Block with a Paragraph</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Group-can-have-other-blocks-appended-to-it-using-the-button-appender-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-group-Group-can-have-other-blocks-appended-to-it-using-the-button-appender-chromium-retry2/Group-can-have-other-blocks-appended-to-it-using-the-button-appender-1-actual.txt
78 | await page.keyboard.type( 'Group Block with a Paragraph' );
79 |
> 80 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
81 | } );
82 |
83 | test( 'can merge into group with Backspace', async ( { editor, page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/group.spec.js:80:49
|
Run the tests:
test/e2e/specs/editor/blocks/group.spec.js#L91
2) [chromium] › editor/blocks/group.spec.js:83:2 › Group › can merge into group with Backspace ───
Error: Snapshot comparison failed:
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Group-can-merge-into-group-with-Backspace-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-group-Group-can-merge-into-group-with-Backspace-chromium/Group-can-merge-into-group-with-Backspace-1-actual.txt
89 |
90 | // Confirm last paragraph is outside of group.
> 91 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
92 |
93 | // Merge the last paragraph into the group.
94 | await page.keyboard.press( 'ArrowLeft' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/group.spec.js:91:49
|
Run the tests:
test/e2e/specs/editor/blocks/group.spec.js#L91
2) [chromium] › editor/blocks/group.spec.js:83:2 › Group › can merge into group with Backspace ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Group-can-merge-into-group-with-Backspace-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-group-Group-can-merge-into-group-with-Backspace-chromium-retry1/Group-can-merge-into-group-with-Backspace-1-actual.txt
89 |
90 | // Confirm last paragraph is outside of group.
> 91 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
92 |
93 | // Merge the last paragraph into the group.
94 | await page.keyboard.press( 'ArrowLeft' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/group.spec.js:91:49
|
Run the tests:
test/e2e/specs/editor/blocks/group.spec.js#L91
2) [chromium] › editor/blocks/group.spec.js:83:2 › Group › can merge into group with Backspace ───
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">1</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/__snapshots__/Group-can-merge-into-group-with-Backspace-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-group-Group-can-merge-into-group-with-Backspace-chromium-retry2/Group-can-merge-into-group-with-Backspace-1-actual.txt
89 |
90 | // Confirm last paragraph is outside of group.
> 91 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
92 |
93 | // Merge the last paragraph into the group.
94 | await page.keyboard.press( 'ArrowLeft' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/group.spec.js:91:49
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L88
3) [chromium] › editor/blocks/list.spec.js:77:2 › List (@Firefox) › can undo asterisk transform ──
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>1. </p>
+ <p class="">1. </p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
86 | await pageUtils.pressKeys( 'primary+z' );
87 |
> 88 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
89 | `<!-- wp:paragraph -->
90 | <p>1. </p>
91 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:88:52
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L88
3) [chromium] › editor/blocks/list.spec.js:77:2 › List (@Firefox) › can undo asterisk transform ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>1. </p>
+ <p class="">1. </p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
86 | await pageUtils.pressKeys( 'primary+z' );
87 |
> 88 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
89 | `<!-- wp:paragraph -->
90 | <p>1. </p>
91 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:88:52
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L88
3) [chromium] › editor/blocks/list.spec.js:77:2 › List (@Firefox) › can undo asterisk transform ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>1. </p>
+ <p class="">1. </p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
86 | await pageUtils.pressKeys( 'primary+z' );
87 |
> 88 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
89 | `<!-- wp:paragraph -->
90 | <p>1. </p>
91 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:88:52
|
Run the tests:
test/e2e/specs/editor/blocks/list.spec.js#L105
4) [chromium] › editor/blocks/list.spec.js:95:2 › List (@Firefox) › should undo asterisk transform with backspace (-firefox)
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p>* </p>
+ <p class="">* </p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
103 | await page.keyboard.press( 'Backspace' );
104 |
> 105 | await expect.poll( editor.getEditedPostContent ).toBe(
| ^
106 | `<!-- wp:paragraph -->
107 | <p>* </p>
108 | <!-- /wp:paragraph -->`
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:105:52
|
Run the tests
18 failed
[chromium] › editor/blocks/group.spec.js:64:2 › Group › can have other blocks appended to it using the button appender
[chromium] › editor/blocks/group.spec.js:83:2 › Group › can merge into group with Backspace ────
[chromium] › editor/blocks/list.spec.js:77:2 › List (@Firefox) › can undo asterisk transform ───
[chromium] › editor/blocks/list.spec.js:95:2 › List (@Firefox) › should undo asterisk transform with backspace (-firefox)
[chromium] › editor/blocks/list.spec.js:112:2 › List (@Firefox) › should undo asterisk transform with backspace after selection changes (-firefox)
[chromium] › editor/blocks/list.spec.js:132:2 › List (@Firefox) › should undo asterisk transform with backspace setting isTyping state (-firefox)
[chromium] › editor/blocks/list.spec.js:150:2 › List (@Firefox) › should undo asterisk transform with backspace after selection changes without requestIdleCallback (-firefox)
[chromium] › editor/blocks/list.spec.js:171:2 › List (@Firefox) › should undo asterisk transform with escape (-firefox)
[chromium] › editor/blocks/list.spec.js:352:2 › List (@Firefox) › can be converted to paragraphs
[chromium] › editor/blocks/list.spec.js:371:2 › List (@Firefox) › can be converted when nested to paragraphs
[chromium] › editor/blocks/list.spec.js:418:2 › List (@Firefox) › should create paragraph on split at end and merge back with content
[chromium] › editor/blocks/list.spec.js:457:2 › List (@Firefox) › should split into two with paragraph and merge lists
[chromium] › editor/blocks/list.spec.js:594:2 › List (@Firefox) › should split into two ordered lists with paragraph
[chromium] › editor/blocks/list.spec.js:713:2 › List (@Firefox) › should create paragraph on Enter in quote block
[chromium] › editor/blocks/list.spec.js:1112:2 › List (@Firefox) › should only convert to list when shortcut ends with space
[chromium] › editor/blocks/list.spec.js:1196:2 › List (@Firefox) › first empty list item is graciously removed
[chromium] › editor/blocks/list.spec.js:1362:2 › List (@Firefox) › can be exited to selected paragraph
[chromium] › editor/blocks/list.spec.js:1381:2 › List (@Firefox) › selects all transformed output
11 skipped
133 passed (12.8m)
|
The logs for this run have expired and are no longer available.
Loading