diff --git a/test/functional/page_objects/dashboard_page.js b/test/functional/page_objects/dashboard_page.js index 7f05ed950c72a3..7c1235206e9951 100644 --- a/test/functional/page_objects/dashboard_page.js +++ b/test/functional/page_objects/dashboard_page.js @@ -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() {