refinerycms
refinerycms copied to clipboard
Bugfix/wait for ajax
Hi @parndt !
I've tried to fix all flaky tests with wait for ajax or sleep. It looks like it works but i'm not a big fan of this solution.
Do you have something better to recommand?
Hmmm @bricesanchez interesting. I wonder if the webdriver itself has a config option for how long to wait. For example the cuprite runner has a slowmo option
:slowmo (Integer | Float) - Set a delay to wait before sending command. Useful companion of headless option, so that you have time to see changes.
We don't use cuprite, but it's an interesting idea.