Block Styles: Make block style variations control scale for increased number of variations #98244
Annotations
4 errors, 1 warning, 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 {"style":{"variation":"plain"},"className":"is-style-plain"} -->
+ <!-- wp:quote {"className":"is-style-plain"} -->
<blockquote class="wp-block-quote is-style-plain"><!-- 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 {"style":{"variation":"plain"},"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 {"style":{"variation":"plain"},"className":"is-style-plain"} -->
+ <!-- wp:quote {"className":"is-style-plain"} -->
<blockquote class="wp-block-quote is-style-plain"><!-- 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 {"style":{"variation":"plain"},"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 {"style":{"variation":"plain"},"className":"is-style-plain"} -->
+ <!-- wp:quote {"className":"is-style-plain"} -->
<blockquote class="wp-block-quote is-style-plain"><!-- 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 {"style":{"variation":"plain"},"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
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
1 failed
[chromium] › editor/various/style-variation.spec.js:7:2 › adding blocks › Should switch to the plain style of the quote block
1 skipped
161 passed (7.5m)
|
Loading