Skip to content

Commit

Permalink
Bump Dependencies (FredrikNoren#1584)
Browse files Browse the repository at this point in the history
* Bump Dependencies

* use Promise setTimeout because waitForTimeout has been removed

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: campersau <buchholz.bastian@googlemail.com>
  • Loading branch information
github-actions[bot] and campersau authored Feb 7, 2024
1 parent 77a2f01 commit 3efb148
Show file tree
Hide file tree
Showing 3 changed files with 571 additions and 227 deletions.
2 changes: 1 addition & 1 deletion clicktests/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class Environment {
return this.page.waitForSelector(selector, { hidden: true, timeout: timeout || 6000 });
}
wait(duration) {
return this.page.waitForTimeout(duration);
return new Promise((resolve) => setTimeout(resolve, duration));
}

type(text) {
Expand Down
Loading

0 comments on commit 3efb148

Please sign in to comment.