Block editor: hooks: early returns for getEditWrapperProps filters #90273
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L31
1) [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
Error: Snapshot comparison failed:
<!-- wp:group {"templateLock":"contentOnly","layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">Hello World</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Content-only-lock-should-be-able-to-edit-the-content-of-blocks-with-content-only-lock-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-content-only-lock-Content-only--d863f-it-the-content-of-blocks-with-content-only-lock-chromium/Content-only-lock-should-be-able-to-edit-the-content-of-blocks-with-content-only-lock-1-actual.txt
29 | .click();
30 | await page.keyboard.type( ' World' );
> 31 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
32 | } );
33 |
34 | // See: https://github.com/WordPress/gutenberg/pull/54618
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:31:49
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L31
1) [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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:group {"templateLock":"contentOnly","layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">Hello World</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Content-only-lock-should-be-able-to-edit-the-content-of-blocks-with-content-only-lock-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-content-only-lock-Content-only--d863f-it-the-content-of-blocks-with-content-only-lock-chromium-retry1/Content-only-lock-should-be-able-to-edit-the-content-of-blocks-with-content-only-lock-1-actual.txt
29 | .click();
30 | await page.keyboard.type( ' World' );
> 31 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
32 | } );
33 |
34 | // See: https://github.com/WordPress/gutenberg/pull/54618
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:31:49
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L31
1) [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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:group {"templateLock":"contentOnly","layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p class="">Hello World</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Content-only-lock-should-be-able-to-edit-the-content-of-blocks-with-content-only-lock-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-content-only-lock-Content-only--d863f-it-the-content-of-blocks-with-content-only-lock-chromium-retry2/Content-only-lock-should-be-able-to-edit-the-content-of-blocks-with-content-only-lock-1-actual.txt
29 | .click();
30 | await page.keyboard.type( ' World' );
> 31 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
32 | } );
33 |
34 | // See: https://github.com/WordPress/gutenberg/pull/54618
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:31:49
|
Run the tests:
test/e2e/specs/editor/various/copy-cut-paste.spec.js#L24
2) [chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Copy - collapsed selection</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-1-actual.txt
22 | await page.keyboard.press( 'ArrowUp' );
23 | await pageUtils.pressKeys( 'primary+c' );
> 24 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
25 |
26 | await page.keyboard.press( 'ArrowDown' );
27 | await pageUtils.pressKeys( 'primary+v' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:24:49
|
Run the tests:
test/e2e/specs/editor/various/copy-cut-paste.spec.js#L24
2) [chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Copy - collapsed selection</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium-retry1/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-1-actual.txt
22 | await page.keyboard.press( 'ArrowUp' );
23 | await pageUtils.pressKeys( 'primary+c' );
> 24 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
25 |
26 | await page.keyboard.press( 'ArrowDown' );
27 | await pageUtils.pressKeys( 'primary+v' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:24:49
|
Run the tests:
test/e2e/specs/editor/various/copy-cut-paste.spec.js#L24
2) [chromium] › editor/various/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">Copy - collapsed selection</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-54a69-aste-individual-blocks-with-collapsed-selection-chromium-retry2/Copy-cut-paste-should-copy-and-paste-individual-blocks-with-collapsed-selection-1-actual.txt
22 | await page.keyboard.press( 'ArrowUp' );
23 | await pageUtils.pressKeys( 'primary+c' );
> 24 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
25 |
26 | await page.keyboard.press( 'ArrowDown' );
27 | await pageUtils.pressKeys( 'primary+v' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:24:49
|
Run the tests:
test/e2e/specs/editor/various/copy-cut-paste.spec.js#L45
3) [chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-1-actual.txt
43 | await page.keyboard.press( 'ArrowUp' );
44 | await pageUtils.pressKeys( 'primary+x' );
> 45 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
46 |
47 | await pageUtils.pressKeys( 'Tab' );
48 | await page.keyboard.press( 'ArrowDown' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:45:49
|
Run the tests:
test/e2e/specs/editor/various/copy-cut-paste.spec.js#L45
3) [chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium-retry1/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-1-actual.txt
43 | await page.keyboard.press( 'ArrowUp' );
44 | await pageUtils.pressKeys( 'primary+x' );
> 45 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
46 |
47 | await pageUtils.pressKeys( 'Tab' );
48 | await page.keyboard.press( 'ArrowDown' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:45:49
|
Run the tests:
test/e2e/specs/editor/various/copy-cut-paste.spec.js#L45
3) [chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class="">2</p>
<!-- /wp:paragraph -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-e44ba-aste-individual-blocks-with-collapsed-selection-chromium-retry2/Copy-cut-paste-should-cut-and-paste-individual-blocks-with-collapsed-selection-1-actual.txt
43 | await page.keyboard.press( 'ArrowUp' );
44 | await pageUtils.pressKeys( 'primary+x' );
> 45 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
46 |
47 | await pageUtils.pressKeys( 'Tab' );
48 | await page.keyboard.press( 'ArrowDown' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:45:49
|
Run the tests:
test/e2e/specs/editor/various/copy-cut-paste.spec.js#L92
4) [chromium] › editor/various/copy-cut-paste.spec.js:74:2 › Copy/cut/paste › should cut and paste individual non textual blocks
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p class=""></p>
<!-- /wp:paragraph -->
<!-- wp:spacer -->
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Copy-cut-paste-should-cut-and-paste-individual-non-textual-blocks-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-should-cut-and-paste-individual-non-textual-blocks-chromium/Copy-cut-paste-should-cut-and-paste-individual-non-textual-blocks-1-actual.txt
90 | .click();
91 | await pageUtils.pressKeys( 'primary+v' );
> 92 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
93 | } );
94 |
95 | test( 'should respect inline copy when text is selected', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:92:49
|
Run the tests
32 failed
[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/copy-cut-paste.spec.js:11:2 › Copy/cut/paste › should copy and paste individual blocks with collapsed selection
[chromium] › editor/various/copy-cut-paste.spec.js:31:2 › Copy/cut/paste › should cut and paste individual blocks with collapsed selection
[chromium] › editor/various/copy-cut-paste.spec.js:74:2 › Copy/cut/paste › should cut and paste individual non textual blocks
[chromium] › editor/various/copy-cut-paste.spec.js:95:2 › Copy/cut/paste › should respect inline copy when text is selected
[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:141:2 › Copy/cut/paste › should handle paste events once
[chromium] › editor/various/copy-cut-paste.spec.js:195:2 › Copy/cut/paste › can copy group onto non textual element (image, spacer)
[chromium] › editor/various/copy-cut-paste.spec.js:249:2 › Copy/cut/paste › should copy only partial selection of text blocks
[chromium] › editor/various/copy-cut-paste.spec.js:282:2 › Copy/cut/paste › should copy/paste partial selection with other blocks in-between
[chromium] › editor/various/copy-cut-paste.spec.js:316:2 › Copy/cut/paste › should cut partial selection of text blocks
[chromium] › editor/various/copy-cut-paste.spec.js:349:2 › Copy/cut/paste › should cut/paste partial selection with other blocks in-between
[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/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/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/duplicating-blocks.spec.js:11:2 › Duplicating blocks › should duplicate blocks using the block settings menu and keyboard shortcut
[chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field
[chromium] › editor/various/font-size-picker.spec.js:158:3 › Font Size Picker › More font sizes › should reset a named font size using the tools panel menu
[chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field
[chromium] › editor/various/font-size-picker.spec.js:248:3 › Font Size Picker › Few font sizes › should reset a named font size using the tools panel menu
[chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field
[chromium] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[chromium] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigatio
|
The logs for this run have expired and are no longer available.
Loading