Hacker News new | ask | show | jobs
by IanCal 4693 days ago
> Timing issues; most of the time spent writing functional tests is knowing when to wait for the next click (e.g. waiting for AJAX response and change in a certain DOM element)... and doing this in a clean way (e.g. WebDriverWait conditions instead of putting Sleep(1000) everywhere).

This can be answered in a fairly simple way. How does your user know when to proceed? What changes?

1 comments

Ian, I agree that's the right mind frame to be in, but I notice they (DevExpress) didn't address it in their demo or docs.

They have a 'wait' function that waits for a period of time, but this is just a sign of bad test writing and something sure to break when testing against different browsers or environments (localhost v.s. staging).

Hi, sorry I didn't see this reply before.

Only a wait function would be worrying, it'll lead to unstable tests and more annoyingly tests that don't do what they say. Decent async support is the first thing I look for in testing libs like this.