Skip to content

Commit

Permalink
revert changees to dashboard tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlemeshko committed Oct 16, 2019
1 parent 72a28b1 commit 8f5caed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/functional/page_objects/dashboard_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8f5caed

Please sign in to comment.