Skip to content

Commit

Permalink
Wait until loading finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Ibragimov committed Jul 22, 2022
1 parent cecaa54 commit 6074722
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/apps/console/_xjson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export default ({ getService, getPageObjects }: FtrProviderContext) => {
await PageObjects.console.enterRequest(
'\nPOST test/_doc/1 \n{\n "foo": """look "escaped" quotes"""'
);
await PageObjects.console.clickPlay();
await PageObjects.header.waitUntilLoadingHasFinished();
expect(await PageObjects.console.hasErrorMarker()).to.be(false);
});
});
Expand Down

0 comments on commit 6074722

Please sign in to comment.