[Discover] Unskip doc navigation functional test (#96948)
This commit is contained in:
parent
d47ee56e93
commit
f4e7941e7d
|
@ -105,8 +105,7 @@ export default function ({ getService, getPageObjects }) {
|
||||||
await PageObjects.discover.waitForDocTableLoadingComplete();
|
await PageObjects.discover.waitForDocTableLoadingComplete();
|
||||||
});
|
});
|
||||||
|
|
||||||
// flaky https://github.com/elastic/kibana/issues/93670
|
it('navigates to doc view from embeddable', async () => {
|
||||||
it.skip('navigates to doc view from embeddable', async () => {
|
|
||||||
await PageObjects.common.navigateToApp('discover');
|
await PageObjects.common.navigateToApp('discover');
|
||||||
await PageObjects.discover.saveSearch('my search');
|
await PageObjects.discover.saveSearch('my search');
|
||||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||||
|
@ -126,7 +125,9 @@ export default function ({ getService, getPageObjects }) {
|
||||||
const alert = await browser.getAlert();
|
const alert = await browser.getAlert();
|
||||||
await alert?.accept();
|
await alert?.accept();
|
||||||
expect(await browser.getCurrentUrl()).to.contain('#/doc');
|
expect(await browser.getCurrentUrl()).to.contain('#/doc');
|
||||||
expect(await PageObjects.discover.isShowingDocViewer()).to.be(true);
|
retry.waitFor('doc view being rendered', async () => {
|
||||||
|
return await PageObjects.discover.isShowingDocViewer();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue