Skip to content

Commit

Permalink
Playwright Utils: Use 'set' to disable the Styles welcome guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed May 22, 2023
1 parent 7bac5ee commit b031284
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function visitSiteEditor(

window.wp.data
.dispatch( 'core/preferences' )
.toggle( 'core/edit-site', 'welcomeGuideStyles', false );
.set( 'core/edit-site', 'welcomeGuideStyles', false );
} );
}

Expand Down

0 comments on commit b031284

Please sign in to comment.