Wait to find a gear in the visualization after clicking Edit

This commit is contained in:
LeeDr 2018-08-23 20:20:12 -05:00
parent de92cc088f
commit 8dac3fbd63

View file

@ -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() {