Replies: 1 comment 2 replies
-
JS timeout is the timeout for a step. Irrespective of whether there is a waitFor within the step or not, Taiko gives JSTimeout milliseconds for the step to execute. So if the code in the step takes more than the configured time then it throws a timeout exception. If you want to wait for a given condition, you should explore waitForNavigation or waitForEvents. Here is the documentation https://docs.taiko.dev/api/tap/. Hope this helps |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to run a while-loop in a test to wait for certain processes to finish before going ahead. Is there a clever way to set the timeout for test/scenario while this loop is running?
As I've understood this is depending on the js.properties timeout, but can't really find anything regarding this in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions