From 9df13b2f7a217ef7593d70583ef60a5187a4b542 Mon Sep 17 00:00:00 2001 From: Stacey Gammon Date: Fri, 8 Dec 2017 11:47:47 -0500 Subject: [PATCH] PreserveCrossAppState introduced flakiness in the tests (#15495) --- test/functional/page_objects/dashboard_page.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/page_objects/dashboard_page.js b/test/functional/page_objects/dashboard_page.js index 98d397c14f00a..36751ee6a018e 100644 --- a/test/functional/page_objects/dashboard_page.js +++ b/test/functional/page_objects/dashboard_page.js @@ -37,6 +37,7 @@ export function DashboardPageProvider({ getService, getPageObjects }) { async preserveCrossAppState() { const url = await remote.getCurrentUrl(); await remote.get(url, false); + await PageObjects.header.waitUntilLoadingHasFinished(); } async clickEditVisualization() {