Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #27 from MacPaw/bugfix/SFT-520-fix-waitForInvisible
Browse files Browse the repository at this point in the history
Fix waitForInvisible method
  • Loading branch information
Yzermanv authored Sep 8, 2020
2 parents 3e0aa5f + b5fa672 commit 4369f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ module.exports = {
},

waitForInvisible(selector, timeout = this.defaultWaitForTimeout) {
return $(selector).waitForDisplayed({timeout}, true);
return $(selector).waitForDisplayed({timeout, reverse: true});
},

waitForExist(selector, timeout = this.defaultWaitForTimeout) {
Expand Down

0 comments on commit 4369f41

Please sign in to comment.