From 59141e16cc2dc1291f7a006c7143e6cd86e07a80 Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Tue, 29 Sep 2020 09:52:16 +0300 Subject: [PATCH] [Functional] Wait for the page to load and then click the new vis button --- test/functional/page_objects/visualize_page.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/page_objects/visualize_page.ts b/test/functional/page_objects/visualize_page.ts index 92692767b096d..6d94c3e581d6c 100644 --- a/test/functional/page_objects/visualize_page.ts +++ b/test/functional/page_objects/visualize_page.ts @@ -70,6 +70,7 @@ export function VisualizePageProvider({ getService, getPageObjects }: FtrProvide public async navigateToNewVisualization() { await common.navigateToApp('visualize'); + await header.waitUntilLoadingHasFinished(); await this.clickNewVisualization(); await this.waitForVisualizationSelectPage(); }