mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
retry chart selection (#116580)
This commit is contained in:
parent
a720a021a4
commit
a3b71bea01
1 changed files with 4 additions and 2 deletions
|
@ -16,8 +16,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const retry = getService('retry');
|
||||
|
||||
async function checkData() {
|
||||
const data = await elasticChart.getChartDebugData();
|
||||
expect(data!.bars![0].bars.length).to.eql(24);
|
||||
await retry.try(async () => {
|
||||
const data = await elasticChart.getChartDebugData();
|
||||
expect(data!.bars![0].bars.length).to.eql(24);
|
||||
});
|
||||
}
|
||||
|
||||
describe('show and save', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue