From 8f5caede604fea53e597ffd74dcd0d767a4b102f Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Wed, 16 Oct 2019 17:12:15 +0200 Subject: [PATCH] revert changees to dashboard tests --- test/functional/page_objects/dashboard_page.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/functional/page_objects/dashboard_page.js b/test/functional/page_objects/dashboard_page.js index 2d2ffa1aa466f..baf79d118ca8e 100644 --- a/test/functional/page_objects/dashboard_page.js +++ b/test/functional/page_objects/dashboard_page.js @@ -276,8 +276,10 @@ export function DashboardPageProvider({ getService, getPageObjects }) { // avoids any 'Object with id x not found' errors when switching tests. async clearSavedObjectsFromAppLinks() { - await PageObjects.common.navigateToApp('visualize'); - await PageObjects.common.navigateToApp('dashboard'); + await PageObjects.header.clickVisualize(); + await PageObjects.visualize.gotoLandingPage(); + await PageObjects.header.clickDashboard(); + await this.gotoDashboardLandingPage(); } async isMarginsOn() {