fix spec that was wrongly passing before
This commit is contained in:
parent
8379f4a6c0
commit
f0282ca61f
|
@ -467,6 +467,7 @@ describe Capybara::Session do
|
|||
end
|
||||
|
||||
it "waits for an element to appear in the viewport when clicked" do
|
||||
subject.visit('/')
|
||||
subject.execute_script <<-JS
|
||||
setTimeout(function() {
|
||||
var offscreen = document.getElementById('offscreen')
|
||||
|
|
Loading…
Reference in New Issue