Maintenance: Make login clue check Capybara system tests more robust in local environments.

This commit is contained in:
Thorsten Eckel 2020-04-27 14:16:02 +02:00
parent 57f40539f2
commit d9bda79385

View file

@ -23,7 +23,7 @@ class Capybara::Node::Element
raise "Element still moving after #{checks} checks" if check == checks
current = native.location
sleep 0.2 if ENV['CI']
sleep 0.2
break if previous == current
previous = current