mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[test/functional/context] include missing await (#100422)
Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
aa2f5b535d
commit
7bd46ec204
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
const alert = await browser.getAlert();
|
||||
await alert?.accept();
|
||||
expect(await browser.getCurrentUrl()).to.contain('#/doc');
|
||||
retry.waitFor('doc view being rendered', async () => {
|
||||
await retry.waitFor('doc view being rendered', async () => {
|
||||
return await PageObjects.discover.isShowingDocViewer();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue