Skip to content

Commit

Permalink
[dashboard/bwc_shared_urls] check viz are loaded (elastic#94941)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
dmlemeshko and kibanamachine committed Mar 22, 2021
1 parent 36f9bc3 commit d99b5e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/functional/apps/dashboard/bwc_shared_urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

await pieChart.expectPieSliceCount(0);
await dashboardExpect.panelCount(2);
await PageObjects.dashboard.waitForRenderComplete();
});
});

Expand All @@ -96,6 +97,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

await pieChart.expectPieSliceCount(5);
await dashboardExpect.panelCount(2);
await PageObjects.dashboard.waitForRenderComplete();
await dashboardExpect.selectedLegendColorCount('#F9D9F9', 5);
});

Expand All @@ -115,6 +117,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

await pieChart.expectPieSliceCount(5);
await dashboardExpect.panelCount(2);
await PageObjects.dashboard.waitForRenderComplete();
await dashboardExpect.selectedLegendColorCount('#F9D9F9', 5);
});

Expand Down

0 comments on commit d99b5e7

Please sign in to comment.