Skip to content

Commit

Permalink
Wait to find a gear in the visualization after clicking Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeDr committed Aug 24, 2018
1 parent de92cc0 commit 8dac3fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/functional/page_objects/dashboard_page.js
Expand Up @@ -179,9 +179,7 @@ export function DashboardPageProvider({ getService, getPageObjects }) {
await retry.waitFor('not in view mode', async () => (
!await this.getIsInViewMode()
));
// Lee.Dr the above code still isn't fixing the failure that comes after this
// Adding 1s sleep until we understand how to check when switching to edit mode is complete.
await PageObjects.common.sleep(1011);
await find.byCssSelector('#gear-a');
}

async getIsInViewMode() {
Expand Down

0 comments on commit 8dac3fb

Please sign in to comment.