You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an explicit, non-skippable sleep inside openResources. There is no way to disable that, can we make that a parameter? Or alternatively replace it with some driver.wait call?
Usage
Every one of our tests opens a different file, and loose 3s on openResources everytime. We cannot batch the "open" calls. It would make our tests quite bit faster if we can drop the sleep, and just wait for the editor to show up with that file.
Which we already have to do, since sometimes on slow machines it can take longer to open a workspace than 3s. (or even sometimes a file)
PS: I'm more than happy to submit a PR to add a parameter with a default in there, if this has a chance of getting merged ;)
The text was updated successfully, but these errors were encountered:
If someone runs into this as well, a work around is not to await on the openResources call/promise, but just monitor the open text editors for your file.
Describe the request
There is an explicit, non-skippable sleep inside
openResources
. There is no way to disable that, can we make that a parameter? Or alternatively replace it with somedriver.wait
call?Usage
Every one of our tests opens a different file, and loose 3s on
openResources
everytime. We cannot batch the "open" calls. It would make our tests quite bit faster if we can drop the sleep, and just wait for the editor to show up with that file.Which we already have to do, since sometimes on slow machines it can take longer to open a workspace than 3s. (or even sometimes a file)
PS: I'm more than happy to submit a PR to add a parameter with a default in there, if this has a chance of getting merged ;)
The text was updated successfully, but these errors were encountered: