Skip to content

Commit

Permalink
[dashboard/bwc_shared_urls] check viz are loaded (#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 authored Mar 22, 2021
1 parent f1708dd commit 041566d
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 041566d

Please sign in to comment.