Skip to content

Conversation

@bricesanchez
Copy link
Member

@bricesanchez bricesanchez commented Jan 9, 2020

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?

@parndt
Copy link
Member

parndt commented Jan 9, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants