parent
1c84ba66c9
commit
7a14e4d613
|
@ -105,8 +105,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await PageObjects.discover.waitForDocTableLoadingComplete();
|
||||
});
|
||||
|
||||
// flaky https://github.com/elastic/kibana/issues/93670
|
||||
it.skip('navigates to doc view from embeddable', async () => {
|
||||
it('navigates to doc view from embeddable', async () => {
|
||||
await PageObjects.common.navigateToApp('discover');
|
||||
await PageObjects.discover.saveSearch('my search');
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
|
@ -126,7 +125,9 @@ export default function ({ getService, getPageObjects }) {
|
|||
const alert = await browser.getAlert();
|
||||
await alert?.accept();
|
||||
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