Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Group block transform snapshots #16202

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions packages/e2e-tests/specs/__snapshots__/block-grouping.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`Block Grouping Group creation creates a group from multiple blocks of different types via block transforms 1`] = `
"<!-- wp:group -->
<div class=\\"wp-block-group\\"><!-- wp:heading -->
<div class=\\"wp-block-group\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:heading -->
<h2>Group Heading</h2>
<!-- /wp:heading -->

Expand All @@ -12,13 +12,13 @@ exports[`Block Grouping Group creation creates a group from multiple blocks of d

<!-- wp:paragraph -->
<p>Some paragraph</p>
<!-- /wp:paragraph --></div>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group -->"
`;

exports[`Block Grouping Group creation creates a group from multiple blocks of the same type via block transforms 1`] = `
"<!-- wp:group -->
<div class=\\"wp-block-group\\"><!-- wp:paragraph -->
<div class=\\"wp-block-group\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:paragraph -->
<p>First Paragraph</p>
<!-- /wp:paragraph -->

Expand All @@ -28,13 +28,13 @@ exports[`Block Grouping Group creation creates a group from multiple blocks of t

<!-- wp:paragraph -->
<p>Third Paragraph</p>
<!-- /wp:paragraph --></div>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group -->"
`;

exports[`Block Grouping Group creation creates a group from multiple blocks of the same type via options toolbar 1`] = `
"<!-- wp:group -->
<div class=\\"wp-block-group\\"><!-- wp:paragraph -->
<div class=\\"wp-block-group\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:paragraph -->
<p>First Paragraph</p>
<!-- /wp:paragraph -->

Expand All @@ -44,13 +44,13 @@ exports[`Block Grouping Group creation creates a group from multiple blocks of t

<!-- wp:paragraph -->
<p>Third Paragraph</p>
<!-- /wp:paragraph --></div>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group -->"
`;

exports[`Block Grouping Group creation groups and ungroups multiple blocks of different types via options toolbar 1`] = `
"<!-- wp:group -->
<div class=\\"wp-block-group\\"><!-- wp:heading -->
<div class=\\"wp-block-group\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:heading -->
<h2>Group Heading</h2>
<!-- /wp:heading -->

Expand All @@ -60,7 +60,7 @@ exports[`Block Grouping Group creation groups and ungroups multiple blocks of di

<!-- wp:paragraph -->
<p>Some paragraph</p>
<!-- /wp:paragraph --></div>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group -->"
`;

Expand All @@ -80,7 +80,7 @@ exports[`Block Grouping Group creation groups and ungroups multiple blocks of di

exports[`Block Grouping Preserving selected blocks attributes preserves width alignment settings of selected blocks 1`] = `
"<!-- wp:group {\\"align\\":\\"full\\"} -->
<div class=\\"wp-block-group alignfull\\"><!-- wp:heading -->
<div class=\\"wp-block-group alignfull\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:heading -->
<h2>Group Heading</h2>
<!-- /wp:heading -->

Expand All @@ -94,6 +94,6 @@ exports[`Block Grouping Preserving selected blocks attributes preserves width al

<!-- wp:paragraph -->
<p>Some paragraph</p>
<!-- /wp:paragraph --></div>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group -->"
`;
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ exports[`Block transforms correctly transform block Image in fixture core__image

exports[`Block transforms correctly transform block Image in fixture core__image into the Group block 1`] = `
"<!-- wp:group -->
<div class=\\"wp-block-group\\"><!-- wp:image -->
<div class=\\"wp-block-group\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:image -->
<figure class=\\"wp-block-image\\"><img src=\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==\\" alt=\\"\\"/></figure>
<!-- /wp:image --></div>
<!-- /wp:image --></div></div>
<!-- /wp:group -->"
`;

Expand Down Expand Up @@ -362,9 +362,9 @@ exports[`Block transforms correctly transform block Media & Text in fixture core

exports[`Block transforms correctly transform block Paragraph in fixture core__paragraph__align-right into the Group block 1`] = `
"<!-- wp:group -->
<div class=\\"wp-block-group\\"><!-- wp:paragraph {\\"align\\":\\"right\\"} -->
<div class=\\"wp-block-group\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:paragraph {\\"align\\":\\"right\\"} -->
<p style=\\"text-align:right\\">... like this one, which is separate from the above and right aligned.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group -->"
`;

Expand Down