mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Fix flaky dashboard view count test (#225021)
## Summary Fix https://github.com/elastic/kibana/issues/223562
This commit is contained in:
parent
7dd72b0a3d
commit
787f02ba66
1 changed files with 5 additions and 2 deletions
|
@ -269,8 +269,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
return Number(viewsStr);
|
||||
}
|
||||
|
||||
const views1 = await getViewsCount();
|
||||
expect(views1).to.be(1);
|
||||
// it might take a bit for the view to be counted
|
||||
await retry.try(async () => {
|
||||
const views1 = await getViewsCount();
|
||||
expect(views1).to.be(1);
|
||||
});
|
||||
|
||||
await listingTable.clickItemLink('dashboard', DASHBOARD_NAME);
|
||||
await dashboard.waitForRenderComplete();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue