Skip to content

Commit

Permalink
Merge pull request mozilla-services#4095 from chenba/make-test-wait-l…
Browse files Browse the repository at this point in the history
…onger

Wait a whole second in visible shot test.
  • Loading branch information
chenba authored Feb 12, 2018
2 parents 7857d74 + a5cdac3 commit fc8ed6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ describe("Test Screenshots", function() {
}).then((visibleButton) => {
visibleButton.click();
// We'll get a stale element error (!?) if the next line is removed
return setTimeoutPromise(750);
return setTimeoutPromise(1000);
}).then(() => {
return driver.switchTo().defaultContent();
}).then(() => {
Expand Down

0 comments on commit fc8ed6e

Please sign in to comment.