From 20fb8475bb419e588cab4d9dfba2beb79caab13f Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Mon, 6 Jan 2025 20:10:28 +0400 Subject: [PATCH] Fix flaky DataViews list arraow nav e2e tests (#68503) Co-authored-by: Mamaduka --- test/e2e/specs/site-editor/command-center.spec.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/e2e/specs/site-editor/command-center.spec.js b/test/e2e/specs/site-editor/command-center.spec.js index 197a01c43c8b46..f7270d4172ca0a 100644 --- a/test/e2e/specs/site-editor/command-center.spec.js +++ b/test/e2e/specs/site-editor/command-center.spec.js @@ -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 } ) => {