Skip to content

Commit

Permalink
minor test race condition fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
angrykoala committed Sep 29, 2018
1 parent 554a419 commit 3242fe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/browser_components/browser_console.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ describe("Console", function() {

it("Find Log By Text And Type", async() => {
await browser.click(".error");
await browser.wait(5);
const logs = browser.console.filter({type: browser.console.LogType.error,
text: "Error Log extra arg"});
assert.strictEqual(logs.length, 1);
Expand Down

0 comments on commit 3242fe4

Please sign in to comment.