diff --git a/lib/capybara/spec/session/window/window_spec.rb b/lib/capybara/spec/session/window/window_spec.rb index 50a53426..e213dcad 100644 --- a/lib/capybara/spec/session/window/window_spec.rb +++ b/lib/capybara/spec/session/window/window_spec.rb @@ -120,7 +120,7 @@ Capybara::SpecHelper.spec Capybara::Window, requires: [:windows] do after do @session.current_window.resize_to(*@initial_size) - sleep 0.5 + sleep 1 end it 'should be able to resize window', requires: %i[windows js] do @@ -194,7 +194,7 @@ Capybara::SpecHelper.spec Capybara::Window, requires: [:windows] do after do @session.current_window.resize_to(*@initial_size) - sleep 0.5 + sleep 1 end it 'should be able to fullscreen the window' do diff --git a/lib/capybara/spec/views/obscured.erb b/lib/capybara/spec/views/obscured.erb index 0a9154f0..2819ae4a 100644 --- a/lib/capybara/spec/views/obscured.erb +++ b/lib/capybara/spec/views/obscured.erb @@ -3,6 +3,9 @@