Skip to content

Commit

Permalink
Fix test not aborting when waitFor commands used with async/await. (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 authored and dikwickley committed Oct 15, 2024
1 parent 1fe22cf commit 6be078e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/api/element-commands/_waitFor.js
Original file line number Diff line number Diff line change
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 6be078e

Please sign in to comment.