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
I know we can use something like retryClick so that if the click fails, it'll get retried.
In the case where I want to click a button and have, for example, a form submit, sometimes timing issues mean the click happens too soon and the submit fails. This means the next "waitToSee" fails. In these cases often we can just hit the submit button again and the test passes, but "retrySee" won't do the click, and "retryClick" won't happen because the click was fine.
Is there a way to say "here's this order of things, if one fails, start from the top"?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I know we can use something like
retryClick
so that if the click fails, it'll get retried.In the case where I want to click a button and have, for example, a form submit, sometimes timing issues mean the click happens too soon and the submit fails. This means the next "waitToSee" fails. In these cases often we can just hit the submit button again and the test passes, but "retrySee" won't do the click, and "retryClick" won't happen because the click was fine.
Is there a way to say "here's this order of things, if one fails, start from the top"?
Beta Was this translation helpful? Give feedback.
All reactions