Block editor: hooks: manage save props in one place #90853
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L29
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
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]')
============================================================
27 | await editor.canvas
28 | .locator( 'role=document[name="Block: Paragraph"i]' )
> 29 | .click();
| ^
30 | await page.keyboard.type( ' World' );
31 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
32 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:29:5
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L29
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 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]')
============================================================
27 | await editor.canvas
28 | .locator( 'role=document[name="Block: Paragraph"i]' )
> 29 | .click();
| ^
30 | await page.keyboard.type( ' World' );
31 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
32 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:29:5
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L29
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 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]')
============================================================
27 | await editor.canvas
28 | .locator( 'role=document[name="Block: Paragraph"i]' )
> 29 | .click();
| ^
30 | await page.keyboard.type( ' World' );
31 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
32 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:29:5
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L55
2) [chromium] › editor/various/content-only-lock.spec.js:35:2 › Content-only lock › should be able to edit the content of deeply nested blocks
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]')
============================================================
53 | await editor.canvas
54 | .locator( 'role=document[name="Block: Paragraph"i]' )
> 55 | .click();
| ^
56 | await page.keyboard.type( ' WP' );
57 | await expect.poll( editor.getBlocks ).toMatchObject( [
58 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:55:5
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L55
2) [chromium] › editor/various/content-only-lock.spec.js:35:2 › Content-only lock › should be able to edit the content of deeply nested blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]')
============================================================
53 | await editor.canvas
54 | .locator( 'role=document[name="Block: Paragraph"i]' )
> 55 | .click();
| ^
56 | await page.keyboard.type( ' WP' );
57 | await expect.poll( editor.getBlocks ).toMatchObject( [
58 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:55:5
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L55
2) [chromium] › editor/various/content-only-lock.spec.js:35:2 › Content-only lock › should be able to edit the content of deeply nested blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Paragraph"i]')
============================================================
53 | await editor.canvas
54 | .locator( 'role=document[name="Block: Paragraph"i]' )
> 55 | .click();
| ^
56 | await page.keyboard.type( ' WP' );
57 | await expect.poll( editor.getBlocks ).toMatchObject( [
58 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:55:5
|
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><code>print "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><code>print "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><code>print "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#L61
4) [chromium] › editor/various/copy-cut-paste.spec.js:53:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image, spacer)
Error: Snapshot comparison failed:
<!-- 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-copy-blocks-when-non-textual-elements-are-focused-image-spacer-1-chromium.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-copy-cut-paste-Copy-cut-paste-s-5307e--non-textual-elements-are-focused-image-spacer--chromium/Copy-cut-paste-should-copy-blocks-when-non-textual-elements-are-focused-image-spacer-1-actual.txt
59 | // At this point the spacer wrapper should be focused.
60 | await pageUtils.pressKeys( 'primary+c' );
> 61 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
62 |
63 | // The block appender is only visible when there's no selection.
64 | await page.evaluate( () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/copy-cut-paste.spec.js:61:49
|
Run the tests
27 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/content-only-lock.spec.js:35:2 › Content-only lock › should be able to edit the content of deeply nested blocks
[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:53:2 › Copy/cut/paste › should copy blocks when non textual elements are focused (image, spacer)
[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: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:282:2 › Copy/cut/paste › should copy/paste partial selection with other blocks in-between
[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: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/font-size-picker.spec.js:22:3 › Font Size Picker › Common › should apply a custom font size using the font size input
[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:136:3 › Font Size Picker › More font sizes › should apply a named font size using the font size buttons
[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:229:3 › Font Size Picker › Few font sizes › should apply a named font size using the font size buttons
[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:29:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[chromium] › editor/various/inserting-blocks.spec.js:147:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[chromium] › editor/various/inserting-blocks.spec.js:409:2 › insert media from inserter › insert media 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 navigation › allows tabbing in navigation mode if no block is selected
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:131:2 › Order of block keyboard navigation › should navigate correctly with multi selection
107 passed (15.0
|
The logs for this run have expired and are no longer available.
Loading