Block editor: hooks: manage save props in one place #90853
Annotations
10 errors
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/separator JSHandle@object <hr/> <hr class=\"wp-block-separator\"/>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column\" style=\"flex-basis:66.66%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column\" style=\"flex-basis:33.33%\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/columns JSHandle@object <div></div> <div class=\"wp-block-columns alignwide\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:25%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:75%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/columns JSHandle@object <div></div> <div class=\"wp-block-columns are-vertically-aligned-center\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/group JSHandle@object <div></div> <div class=\"wp-block-group\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/separator JSHandle@object <hr/> <hr class=\"wp-block-separator alignwide has-text-color has-background is-style-wide\" style=\"background-color:#ffffff;color:#ffffff\"/>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:20%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:80%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
C
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["wp.blocks.children.matcher is deprecated since version 6.1 and will be removed in version 6.3. Please use html source instead. See: https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, i
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L209
Error: expect(received).toMatchSnapshot()
Snapshot name: `Inserting blocks inserts blocks at root level when using the root appender while selection is in an inner block 1`
- Snapshot - 2
+ Received + 2
@@ -1,8 +1,8 @@
"<!-- wp:buttons -->
- <div class="wp-block-buttons"><!-- wp:button -->
- <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">1.1</a></div>
+ <div><!-- wp:button -->
+ <div><a class="wp-block-button__link wp-element-button">1.1</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->
<!-- wp:paragraph -->
<p>2</p>
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js:209:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/separator JSHandle@object <hr/> <hr class=\"wp-block-separator\"/>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column\" style=\"flex-basis:66.66%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column\" style=\"flex-basis:33.33%\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/columns JSHandle@object <div></div> <div class=\"wp-block-columns alignwide\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:25%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:75%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/columns JSHandle@object <div></div> <div class=\"wp-block-columns are-vertically-aligned-center\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/group JSHandle@object <div></div> <div class=\"wp-block-group\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/separator JSHandle@object <hr/> <hr class=\"wp-block-separator alignwide has-text-color has-background is-style-wide\" style=\"background-color:#ffffff;color:#ffffff\"/>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:20%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:80%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
C
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["wp.blocks.children.matcher is deprecated since version 6.1 and will be removed in version 6.3. Please use html source instead. See: https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, i
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L223
Error: expect(received).toMatchSnapshot()
Snapshot name: `Inserting blocks inserts a block in proper place after having clicked \`Browse All\` from inline inserter 1`
- Snapshot - 1
+ Received + 1
@@ -1,11 +1,11 @@
<!-- wp:paragraph -->
<p>First paragraph</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
- <h2 class="wp-block-heading">Heading</h2>
+ <h2>Heading</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Second paragraph</p>
<!-- /wp:paragraph -->
at Object.toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js:223:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/separator JSHandle@object <hr/> <hr class=\"wp-block-separator\"/>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column\" style=\"flex-basis:66.66%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column\" style=\"flex-basis:33.33%\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/columns JSHandle@object <div></div> <div class=\"wp-block-columns alignwide\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:25%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:75%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/columns JSHandle@object <div></div> <div class=\"wp-block-columns are-vertically-aligned-center\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/group JSHandle@object <div></div> <div class=\"wp-block-group\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/separator JSHandle@object <hr/> <hr class=\"wp-block-separator alignwide has-text-color has-background is-style-wide\" style=\"background-color:#ffffff;color:#ffffff\"/>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:20%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:80%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
C
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["wp.blocks.children.matcher is deprecated since version 6.1 and will be removed in version 6.3. Please use html source instead. See: https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, i
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/separator JSHandle@object <hr/> <hr class=\"wp-block-separator\"/>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column\" style=\"flex-basis:66.66%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column\" style=\"flex-basis:33.33%\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/columns JSHandle@object <div></div> <div class=\"wp-block-columns alignwide\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:25%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:75%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/columns JSHandle@object <div></div> <div class=\"wp-block-columns are-vertically-aligned-center\">
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/group JSHandle@object <div></div> <div class=\"wp-block-group\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/query JSHandle@object <div></div> <div class=\"wp-block-query\">······
</div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/separator JSHandle@object <hr/> <hr class=\"wp-block-separator alignwide has-text-color has-background is-style-wide\" style=\"background-color:#ffffff;color:#ffffff\"/>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:20%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
Content retrieved from post body:·
%s core/column JSHandle@object <div></div> <div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:80%\"></div>"],["Block validation: Block validation failed for `%s` (%o).·
Content generated by `save` function:·
%s·
C
|
Running the tests:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["wp.blocks.children.matcher is deprecated since version 6.1 and will be removed in version 6.3. Please use html source instead. See: https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, instead saw %o. JSHandle@array JSHandle@array"],["Block validation: Expected attributes %o, i
|
The logs for this run have expired and are no longer available.
Loading