Maintenance: Make login clue check Capybara system tests more robust in local environments.
This commit is contained in:
parent
57f40539f2
commit
d9bda79385
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class Capybara::Node::Element
|
||||||
raise "Element still moving after #{checks} checks" if check == checks
|
raise "Element still moving after #{checks} checks" if check == checks
|
||||||
|
|
||||||
current = native.location
|
current = native.location
|
||||||
sleep 0.2 if ENV['CI']
|
sleep 0.2
|
||||||
break if previous == current
|
break if previous == current
|
||||||
|
|
||||||
previous = current
|
previous = current
|
||||||
|
|
Loading…
Reference in a new issue