Skip to content

Commit

Permalink
Fix test not aborting when waitFor commands used with async/await. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed May 5, 2024
1 parent bfcc09a commit 45ca79e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/api/element-commands/_waitFor.js
Expand Up @@ -13,6 +13,10 @@ class WaitForElement extends ElementCommand {
return false;
}

static get rejectNodeOnAbortFailure() {
return true;
}

static get isTraceable() {
return true;
}
Expand Down

0 comments on commit 45ca79e

Please sign in to comment.