mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Discover] Attempt at fixing a failing test (#97790)
This commit is contained in:
parent
ffc3db5a30
commit
6532478ca0
1 changed files with 5 additions and 3 deletions
|
@ -34,8 +34,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const dashboardAddPanel = getService('dashboardAddPanel');
|
||||
const browser = getService('browser');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/94545
|
||||
describe.skip('discover data grid context tests', () => {
|
||||
describe('discover data grid context tests', () => {
|
||||
before(async () => {
|
||||
await esArchiver.load('discover');
|
||||
await esArchiver.loadIfNeeded('logstash_functional');
|
||||
|
@ -110,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.getBodyRows()).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