-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Milestone
Description
If you're using a lot of $wait_for_js() calls, 30 seconds is a massively long timeout, and it'd be nice to be able to set a global option for the default timeout, e.g.
options(shinytest2.wait_for_js.timeout = 5 * 1000)instead of having to include timeout = 5 * 1000 in all of my calls to $wait_for_js(). I would imagine heavy users of other wait_for_*() functions would benefit from similar options.
An alternative would be to lower the timeout for all of the wait functions to something reasonably small, e.g. 5 or 10 seconds, and then users who know they need to wait longer can opt into a longer wait time. (And I guess you'd also use longer timeouts for app startup.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels