Skip to content

Commit

Permalink
added render complete
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmivkulkarni committed Apr 13, 2021
1 parent 5c911ea commit 3e787ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/functional/services/dashboard/panel_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const SAVE_TO_LIBRARY_TEST_SUBJ = 'embeddablePanelAction-saveToLibrary';
export function DashboardPanelActionsProvider({ getService, getPageObjects }: FtrProviderContext) {
const log = getService('log');
const testSubjects = getService('testSubjects');
const PageObjects = getPageObjects(['header', 'common']);
const PageObjects = getPageObjects(['header', 'common', 'dashboard']);
const inspector = getService('inspector');

return new (class DashboardPanelActions {
Expand Down Expand Up @@ -147,6 +147,7 @@ export function DashboardPanelActionsProvider({ getService, getPageObjects }: Ft
await this.openContextMenu();
}
await testSubjects.click(CLONE_PANEL_DATA_TEST_SUBJ);
await PageObjects.dashboard.waitForRenderComplete();
}

async openCopyToModalByTitle(title?: string) {
Expand Down

0 comments on commit 3e787ac

Please sign in to comment.