Skip to content

Commit 4b2388e

Browse files
authored
Playwright Utils: Use 'set' to disable the Styles welcome guide (#50852)
1 parent fdc494a commit 4b2388e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function visitSiteEditor(
4343

4444
window.wp.data
4545
.dispatch( 'core/preferences' )
46-
.toggle( 'core/edit-site', 'welcomeGuideStyles', false );
46+
.set( 'core/edit-site', 'welcomeGuideStyles', false );
4747
} );
4848
}
4949

0 commit comments

Comments
 (0)