Skip to content

Commit

Permalink
added render complete in couple other places
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmivkulkarni committed Apr 13, 2021
1 parent 90d04ba commit 456f49e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/services/dashboard/panel_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export function DashboardPanelActionsProvider({ getService, getPageObjects }: Ft
const isPanelActionVisible = await testSubjects.exists(REMOVE_PANEL_DATA_TEST_SUBJ);
if (!isPanelActionVisible) await this.clickContextMenuMoreItem();
await testSubjects.click(REMOVE_PANEL_DATA_TEST_SUBJ);
await PageObjects.dashboard.waitForRenderComplete();
}

async removePanelByTitle(title: string) {
Expand All @@ -136,6 +137,7 @@ export function DashboardPanelActionsProvider({ getService, getPageObjects }: Ft
await this.clickContextMenuMoreItem();
}
await testSubjects.click(REPLACE_PANEL_DATA_TEST_SUBJ);
await PageObjects.dashboard.waitForRenderComplete();
}

async clonePanelByTitle(title?: string) {
Expand Down

0 comments on commit 456f49e

Please sign in to comment.