Block editor: hooks: manage save props in one place #90853
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L85
1) [webkit] › editor/various/inserting-blocks.spec.js:29:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
- <h2 class="wp-block-heading"></h2>
+ <h2></h2>
<!-- /wp:heading -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
83 |
84 | await expect.poll( editor.getEditedPostContent )
> 85 | .toBe( `<!-- wp:paragraph -->
| ^
86 | <p>Dummy text</p>
87 | <!-- /wp:paragraph -->
88 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:85:5
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L85
1) [webkit] › editor/various/inserting-blocks.spec.js:29:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
- <h2 class="wp-block-heading"></h2>
+ <h2></h2>
<!-- /wp:heading -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
83 |
84 | await expect.poll( editor.getEditedPostContent )
> 85 | .toBe( `<!-- wp:paragraph -->
| ^
86 | <p>Dummy text</p>
87 | <!-- /wp:paragraph -->
88 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:85:5
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L85
1) [webkit] › editor/various/inserting-blocks.spec.js:29:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
- <h2 class="wp-block-heading"></h2>
+ <h2></h2>
<!-- /wp:heading -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
83 |
84 | await expect.poll( editor.getEditedPostContent )
> 85 | .toBe( `<!-- wp:paragraph -->
| ^
86 | <p>Dummy text</p>
87 | <!-- /wp:paragraph -->
88 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:85:5
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L206
2) [webkit] › editor/various/inserting-blocks.spec.js:147:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p>Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color">
<!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /-->
</ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-webkit.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
204 | await page.mouse.up();
205 |
> 206 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
207 | } );
208 |
209 | test( 'inserts synced patterns by dragging and dropping from the global inserter', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:206:49
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L206
2) [webkit] › editor/various/inserting-blocks.spec.js:147:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p>Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color">
<!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /-->
</ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-webkit.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit-retry1/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
204 | await page.mouse.up();
205 |
> 206 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
207 | } );
208 |
209 | test( 'inserts synced patterns by dragging and dropping from the global inserter', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:206:49
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L206
2) [webkit] › editor/various/inserting-blocks.spec.js:147:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<!-- wp:paragraph -->
<p>Dummy text</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color">
<!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /-->
</ul>
<!-- /wp:social-links -->
Expected: /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/__snapshots__/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-webkit.txt
Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-various-inserting-blocks-Inserting-bloc-f26fa--dragging-and-dropping-from-the-global-inserter-webkit-retry2/Inserting-blocks-firefox-webkit-inserts-p-59603-ragging-and-dropping-from-the-global-inserter-1-actual.txt
204 | await page.mouse.up();
205 |
> 206 | expect( await editor.getEditedPostContent() ).toMatchSnapshot();
| ^
207 | } );
208 |
209 | test( 'inserts synced patterns by dragging and dropping from the global inserter', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:206:49
|
Run the tests:
test/e2e/specs/editor/various/writing-flow.spec.js#L869
3) [webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph -->
<!-- wp:image {"align":"wide"} -->
- <figure class="wp-block-image alignwide"><img alt=""/></figure>
+ <figure><img alt=""/></figure>
<!-- /wp:image -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
867 | // Confirm correct setup.
868 | await expect.poll( editor.getEditedPostContent )
> 869 | .toBe( `<!-- wp:paragraph -->
| ^
870 | <p>1</p>
871 | <!-- /wp:paragraph -->
872 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:869:5
|
Run the tests:
test/e2e/specs/editor/various/writing-flow.spec.js#L869
3) [webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph -->
<!-- wp:image {"align":"wide"} -->
- <figure class="wp-block-image alignwide"><img alt=""/></figure>
+ <figure><img alt=""/></figure>
<!-- /wp:image -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
867 | // Confirm correct setup.
868 | await expect.poll( editor.getEditedPostContent )
> 869 | .toBe( `<!-- wp:paragraph -->
| ^
870 | <p>1</p>
871 | <!-- /wp:paragraph -->
872 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:869:5
|
Run the tests:
test/e2e/specs/editor/various/writing-flow.spec.js#L869
3) [webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
<p>1</p>
<!-- /wp:paragraph -->
<!-- wp:image {"align":"wide"} -->
- <figure class="wp-block-image alignwide"><img alt=""/></figure>
+ <figure><img alt=""/></figure>
<!-- /wp:image -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
867 | // Confirm correct setup.
868 | await expect.poll( editor.getEditedPostContent )
> 869 | .toBe( `<!-- wp:paragraph -->
| ^
870 | <p>1</p>
871 | <!-- /wp:paragraph -->
872 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:869:5
|
Run the tests:
test/e2e/specs/editor/various/writing-flow.spec.js#L925
4) [webkit] › editor/various/writing-flow.spec.js:904:2 › Writing Flow (@Firefox, @WebKit) › should only consider the content as one tab stop
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:table -->
- <figure class="wp-block-table"><table><tbody><tr><td></td><td>2</td></tr><tr><td></td><td></td></tr></tbody></table></figure>
+ <figure><table><tbody><tr><td></td><td>2</td></tr><tr><td></td><td></td></tr></tbody></table></figure>
<!-- /wp:table -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
923 | // Confirm correct setup.
924 | await expect.poll( editor.getEditedPostContent )
> 925 | .toBe( `<!-- wp:table -->
| ^
926 | <figure class="wp-block-table"><table><tbody><tr><td></td><td>2</td></tr><tr><td></td><td></td></tr></tbody></table></figure>
927 | <!-- /wp:table -->` );
928 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:925:5
|
Run the tests
4 failed
[webkit] › editor/various/inserting-blocks.spec.js:29:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:147:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block
[webkit] › editor/various/writing-flow.spec.js:904:2 › Writing Flow (@Firefox, @WebKit) › should only consider the content as one tab stop
142 passed (9.4m)
|
The logs for this run have expired and are no longer available.
Loading