Currently, scaffold does not handle re clicking of elements if a click fails. A click retry can be helpful if working with a webpage that has a slow state change or slow javascript.
We could achieve click retry logic with a test setting similar to how we're setting explicit waits. By enable click retry, we could write the logic for the click retry as a generic on AbstractClickable. Therefore, any time a calling class performs the click, the retry will be checked and executed.
I think the following would be a good set of parameters for the retry:
max five retries
a total of one second for a wait in between retries
If the click still fails, provide a summary why it failed
A/C
Scaffold should provide a setting for enabling click retries
Scaffold should provide logic for retrying a click if it fails for any reason and provide a summary as to why a click failed
Scaffold should perform the retries with the params specified in the summary
Summary
Currently, scaffold does not handle re clicking of elements if a click fails. A click retry can be helpful if working with a webpage that has a slow state change or slow javascript.
We could achieve click retry logic with a test setting similar to how we're setting explicit waits. By enable click retry, we could write the logic for the click retry as a generic on AbstractClickable. Therefore, any time a calling class performs the click, the retry will be checked and executed.
I think the following would be a good set of parameters for the retry:
A/C