Skip to content

Commit

Permalink
Fix flaky DataViews list arraow nav e2e tests (WordPress#68503)
Browse files Browse the repository at this point in the history
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
Mamaduka and Mamaduka authored Jan 6, 2025
1 parent b80c80c commit 20fb847
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/specs/site-editor/command-center.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ test.describe( 'Site editor command palette', () => {
} );

test.afterAll( async ( { requestUtils } ) => {
await requestUtils.activateTheme( 'twentytwentyone' );
await Promise.all( [
requestUtils.activateTheme( 'twentytwentyone' ),
requestUtils.deleteAllPages(),
] );
} );

test.beforeEach( async ( { admin } ) => {
Expand Down

0 comments on commit 20fb847

Please sign in to comment.