Skip to content

Commit

Permalink
Add missing await to functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Dec 29, 2022
1 parent 1ab6046 commit d0bc3d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.header.waitUntilLoadingHasFinished();
url = await browser.getCurrentUrl();
expect(url).to.contain(`with-different-timefield`);
browser.goBack();
await browser.goBack();
await PageObjects.header.waitUntilLoadingHasFinished();
expect(url).to.contain(`@timestamp`);
});
Expand Down

0 comments on commit d0bc3d4

Please sign in to comment.