mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
# Conflicts: # test/functional/apps/discover/_data_grid_context.ts
This commit is contained in:
parent
6744742077
commit
4f0af3c20a
1 changed files with 4 additions and 1 deletions
|
@ -109,7 +109,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await alert?.accept();
|
||||
expect(await browser.getCurrentUrl()).to.contain('#/context');
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
expect(await docTable.getRowsText()).to.have.length(6);
|
||||
await retry.waitFor('document table has a length of 6', async () => {
|
||||
const nrOfDocs = (await docTable.getBodyRows()).length;
|
||||
return nrOfDocs === 6;
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue