Block editor: hooks: manage save props in one place #90853
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/style-variation.spec.js#L29
1) [chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:quote {"className":"is-style-plain"} -->
- <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph -->
+ <blockquote><!-- wp:paragraph -->
<p>Quote content</p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->
27 | // Check the content
28 | const content = await editor.getEditedPostContent();
> 29 | expect( content ).toBe(
| ^
30 | `<!-- wp:quote {"className":"is-style-plain"} -->
31 | <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph -->
32 | <p>Quote content</p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/style-variation.spec.js:29:21
|
Run the tests:
test/e2e/specs/editor/various/style-variation.spec.js#L29
1) [chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:quote {"className":"is-style-plain"} -->
- <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph -->
+ <blockquote><!-- wp:paragraph -->
<p>Quote content</p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->
27 | // Check the content
28 | const content = await editor.getEditedPostContent();
> 29 | expect( content ).toBe(
| ^
30 | `<!-- wp:quote {"className":"is-style-plain"} -->
31 | <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph -->
32 | <p>Quote content</p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/style-variation.spec.js:29:21
|
Run the tests:
test/e2e/specs/editor/various/style-variation.spec.js#L29
1) [chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:quote {"className":"is-style-plain"} -->
- <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph -->
+ <blockquote><!-- wp:paragraph -->
<p>Quote content</p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->
27 | // Check the content
28 | const content = await editor.getEditedPostContent();
> 29 | expect( content ).toBe(
| ^
30 | `<!-- wp:quote {"className":"is-style-plain"} -->
31 | <blockquote class="wp-block-quote is-style-plain"><!-- wp:paragraph -->
32 | <p>Quote content</p>
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/style-variation.spec.js:29:21
|
Run the tests:
test/e2e/specs/editor/various/writing-flow.spec.js#L869
2) [chromium] › 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
2) [chromium] › 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
2) [chromium] › 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
3) [chromium] › 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:
test/e2e/specs/editor/various/writing-flow.spec.js#L925
3) [chromium] › editor/various/writing-flow.spec.js:904:2 › Writing Flow (@Firefox, @WebKit) › should only consider the content as one tab stop
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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:
test/e2e/specs/editor/various/writing-flow.spec.js#L925
3) [chromium] › editor/various/writing-flow.spec.js:904:2 › Writing Flow (@Firefox, @WebKit) › should only consider the content as one tab stop
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
Process completed with exit code 1.
|
Run the tests
3 failed
[chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block
[chromium] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block
[chromium] › editor/various/writing-flow.spec.js:904:2 › Writing Flow (@Firefox, @WebKit) › should only consider the content as one tab stop
1 skipped
147 passed (8.1m)
|
The logs for this run have expired and are no longer available.
Loading