IntelliTect / TestTools

A collection of tools for aiding in test automation
MIT License
10 stars 7 forks source link

Assess ways to override waits in Selenate #29

Closed PandaMagnus closed 4 years ago

PandaMagnus commented 5 years ago

See if it makes sense to set two global wait time properties, a "short" wait at probably ~5 - 15s for things like FindElement, and a "long" wait for things like Browser.Wait that are more state check-ey styles of things. This is so we can expose an override to projects that utilize Selenate

PandaMagnus commented 5 years ago

Now that we've pivoted to using WebDriverWait (correctly) the only thing that currently can't be overridden easily is the polling interval. Total time to try the function is now overridden as a method argument.

PandaMagnus commented 4 years ago

Making the deliberate decision to disallow overriding the polling interval. V2 will default to 100ms intervals (WebDriverWait's default is 500ms) which should be sufficient. Will re-open this if it's not.