Skip to content

Commit 36c367e

Browse files
committed
Add section root to Zoom Out e2e test
1 parent 71966d8 commit 36c367e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/e2e/specs/site-editor/zoom-out.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
const { test, expect } = require( '@wordpress/e2e-test-utils-playwright' );
55

66
const EDITOR_ZOOM_OUT_CONTENT = `
7-
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"base-2","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between"}} -->
7+
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
8+
<main class="wp-block-group"><!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"base-2","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between"}} -->
89
<div class="wp-block-group has-base-2-background-color has-background" style="min-height:100vh;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:paragraph -->
910
<p>First Section Start</p>
1011
<!-- /wp:paragraph -->
@@ -58,6 +59,7 @@ const EDITOR_ZOOM_OUT_CONTENT = `
5859
<!-- wp:paragraph -->
5960
<p>Fourth Section End</p>
6061
<!-- /wp:paragraph --></div>
62+
<!-- /wp:group --></main>
6163
<!-- /wp:group -->`;
6264

6365
test.describe( 'Zoom Out', () => {

0 commit comments

Comments
 (0)