Skip to content

Commit

Permalink
Template Mode: Try fix flaky tests (#39711)
Browse files Browse the repository at this point in the history
* Template Mode: Try fix flaky tests

* Don't update 'disableTemplateWelcomeGuide'
  • Loading branch information
Mamaduka authored Mar 25, 2022
1 parent 0c0768f commit 7212027
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ describe( 'Delete Post Template Confirmation Dialog', () => {
if ( isWelcomeGuideActive === true ) {
await page.evaluate( () =>
wp.data
.dispatch( 'core/edit-post' )
.dispatch( 'core/preferences' )
.toggle( 'core/edit-post', 'welcomeGuide' )
);
await page.reload();
Expand Down

0 comments on commit 7212027

Please sign in to comment.