forked from mozilla/pdf.js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
waitForTimeout
usage from the scripting integration tests
This commit replaces all `waitForTimeout` occurrences with the appropriate `waitForFunction` calls. Note that in some places we could simply remove the `waitForTimeout` call altogether because the action that is being performed is either an instant Puppeteer action (such as switching tabs) or shouldn't lead to any noticeable change that can be awaited (such as a text field that is expected to be unchanged upon a focus change).
- Loading branch information
1 parent
5ad42c1
commit 190123c
Showing
1 changed file
with
23 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters