mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
add retry to avoid race conditions in controls test (#121909)
This commit is contained in:
parent
3955d0dc81
commit
398221659c
1 changed files with 3 additions and 1 deletions
|
@ -195,7 +195,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
});
|
||||
|
||||
it('Applies options list control options to dashboard', async () => {
|
||||
expect(await pieChart.getPieSliceCount()).to.be(2);
|
||||
await retry.try(async () => {
|
||||
expect(await pieChart.getPieSliceCount()).to.be(2);
|
||||
});
|
||||
});
|
||||
|
||||
it('Applies options list control options to dashboard by default on open', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue