Skip to content

Commit

Permalink
Upgrade capybara and poltergeist (leikind#66)
Browse files Browse the repository at this point in the history
Get rid of warnings. A couple tests changed due to differences in handling dropdowns
  • Loading branch information
JasonBarnabe authored Feb 15, 2019
1 parent 50b7247 commit 4f9a8ec
Show file tree
Hide file tree
Showing 9 changed files with 82 additions and 142 deletions.
35 changes: 17 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ GEM
sass (~> 3.2)
builder (3.2.3)
byebug (10.0.2)
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara (3.13.2)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.2)
xpath (~> 3.2)
capybara-screenshot (1.0.21)
capybara (>= 1.0, < 4)
launchy
Expand Down Expand Up @@ -132,9 +134,6 @@ GEM
mail (2.7.1)
mini_mime (>= 0.1.1)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_mime (1.0.1)
mini_portile2 (2.4.0)
minitest (5.11.1)
Expand All @@ -143,17 +142,16 @@ GEM
nio4r (2.3.1)
nokogiri (1.10.1)
mini_portile2 (~> 2.4.0)
poltergeist (1.9.0)
capybara (~> 2.1)
poltergeist (1.18.1)
capybara (>= 2.1, < 4)
cliver (~> 0.3.1)
multi_json (~> 1.0)
websocket-driver (>= 0.2.0)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (3.0.2)
rack (2.0.3)
rack-test (0.8.2)
rack (2.0.6)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.1.4)
actioncable (= 5.1.4)
Expand Down Expand Up @@ -185,6 +183,7 @@ GEM
rdoc (4.2.2)
json (~> 1.4)
ref (2.0.0)
regexp_parser (1.3.0)
rspec (3.6.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
Expand Down Expand Up @@ -258,8 +257,8 @@ GEM
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (2.1.0)
nokogiri (~> 1.3)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.8.7.6)

PLATFORMS
Expand All @@ -270,7 +269,7 @@ DEPENDENCIES
bootstrap-sass (= 3.1.1.1)
bundler (~> 1.3)
byebug
capybara (~> 2.2.0)
capybara (~> 3.13.2)
capybara-screenshot (~> 1.0.11)
coderay (~> 1.1.0)
faker (~> 1.8.7)
Expand All @@ -280,7 +279,7 @@ DEPENDENCIES
jquery-rails (~> 4.3.3)
jquery-ui-rails (~> 5.0.5)
jquery-ui-themes (~> 0.0.11)
poltergeist (~> 1.9.0)
poltergeist (~> 1.18.0)
rake (~> 10.1)
rdoc (~> 4.2.0)
rspec (~> 3.6.0)
Expand Down
33 changes: 16 additions & 17 deletions gemfiles/rails_5.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ GEM
sass (~> 3.2)
builder (3.2.3)
byebug (10.0.2)
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara (3.13.2)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.2)
xpath (~> 3.2)
capybara-screenshot (1.0.21)
capybara (>= 1.0, < 4)
launchy
Expand Down Expand Up @@ -132,9 +134,6 @@ GEM
mail (2.7.0)
mini_mime (>= 0.1.1)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_mime (1.0.0)
mini_portile2 (2.4.0)
minitest (5.11.3)
Expand All @@ -143,16 +142,15 @@ GEM
nio4r (2.3.1)
nokogiri (1.10.1)
mini_portile2 (~> 2.4.0)
poltergeist (1.9.0)
capybara (~> 2.1)
poltergeist (1.18.1)
capybara (>= 2.1, < 4)
cliver (~> 0.3.1)
multi_json (~> 1.0)
websocket-driver (>= 0.2.0)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (3.0.2)
rack (2.0.5)
rack (2.0.6)
rack-test (0.6.3)
rack (>= 1.0)
rails (5.0.7)
Expand Down Expand Up @@ -185,6 +183,7 @@ GEM
rdoc (4.2.2)
json (~> 1.4)
ref (2.0.0)
regexp_parser (1.3.0)
rspec (3.6.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
Expand Down Expand Up @@ -258,8 +257,8 @@ GEM
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (2.1.0)
nokogiri (~> 1.3)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.8.7.6)

PLATFORMS
Expand All @@ -270,7 +269,7 @@ DEPENDENCIES
bootstrap-sass (= 3.1.1.1)
bundler (~> 1.3)
byebug
capybara (~> 2.2.0)
capybara (~> 3.13.2)
capybara-screenshot (~> 1.0.11)
coderay (~> 1.1.0)
faker (~> 1.8.7)
Expand All @@ -280,7 +279,7 @@ DEPENDENCIES
jquery-rails (~> 4.3.3)
jquery-ui-rails (~> 5.0.5)
jquery-ui-themes (~> 0.0.11)
poltergeist (~> 1.9.0)
poltergeist (~> 1.18.0)
rails (~> 5.0.0)
rake (~> 10.1)
rdoc (~> 4.2.0)
Expand Down
35 changes: 17 additions & 18 deletions gemfiles/rails_5.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ GEM
sass (~> 3.2)
builder (3.2.3)
byebug (10.0.2)
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara (3.13.2)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.2)
xpath (~> 3.2)
capybara-screenshot (1.0.21)
capybara (>= 1.0, < 4)
launchy
Expand Down Expand Up @@ -132,9 +134,6 @@ GEM
mail (2.7.0)
mini_mime (>= 0.1.1)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_mime (1.0.0)
mini_portile2 (2.4.0)
minitest (5.11.3)
Expand All @@ -143,17 +142,16 @@ GEM
nio4r (2.3.1)
nokogiri (1.10.1)
mini_portile2 (~> 2.4.0)
poltergeist (1.9.0)
capybara (~> 2.1)
poltergeist (1.18.1)
capybara (>= 2.1, < 4)
cliver (~> 0.3.1)
multi_json (~> 1.0)
websocket-driver (>= 0.2.0)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (3.0.2)
rack (2.0.5)
rack-test (1.0.0)
rack (2.0.6)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.1.6)
actioncable (= 5.1.6)
Expand Down Expand Up @@ -185,6 +183,7 @@ GEM
rdoc (4.2.2)
json (~> 1.4)
ref (2.0.0)
regexp_parser (1.3.0)
rspec (3.6.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
Expand Down Expand Up @@ -258,8 +257,8 @@ GEM
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (2.1.0)
nokogiri (~> 1.3)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.8.7.6)

PLATFORMS
Expand All @@ -270,7 +269,7 @@ DEPENDENCIES
bootstrap-sass (= 3.1.1.1)
bundler (~> 1.3)
byebug
capybara (~> 2.2.0)
capybara (~> 3.13.2)
capybara-screenshot (~> 1.0.11)
coderay (~> 1.1.0)
faker (~> 1.8.7)
Expand All @@ -280,7 +279,7 @@ DEPENDENCIES
jquery-rails (~> 4.3.3)
jquery-ui-rails (~> 5.0.5)
jquery-ui-themes (~> 0.0.11)
poltergeist (~> 1.9.0)
poltergeist (~> 1.18.0)
rails (~> 5.1.0)
rake (~> 10.1)
rdoc (~> 4.2.0)
Expand Down
35 changes: 17 additions & 18 deletions gemfiles/rails_5.2.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,14 @@ GEM
sass (~> 3.2)
builder (3.2.3)
byebug (10.0.2)
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara (3.13.2)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.2)
xpath (~> 3.2)
capybara-screenshot (1.0.21)
capybara (>= 1.0, < 4)
launchy
Expand Down Expand Up @@ -138,9 +140,6 @@ GEM
marcel (0.3.2)
mimemagic (~> 0.3.2)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mini_mime (1.0.0)
mini_portile2 (2.4.0)
Expand All @@ -150,17 +149,16 @@ GEM
nio4r (2.3.1)
nokogiri (1.10.1)
mini_portile2 (~> 2.4.0)
poltergeist (1.9.0)
capybara (~> 2.1)
poltergeist (1.18.1)
capybara (>= 2.1, < 4)
cliver (~> 0.3.1)
multi_json (~> 1.0)
websocket-driver (>= 0.2.0)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (3.0.2)
rack (2.0.5)
rack-test (1.0.0)
rack (2.0.6)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.0)
actioncable (= 5.2.0)
Expand Down Expand Up @@ -193,6 +191,7 @@ GEM
rdoc (4.2.2)
json (~> 1.4)
ref (2.0.0)
regexp_parser (1.3.0)
rspec (3.6.0)
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
Expand Down Expand Up @@ -266,8 +265,8 @@ GEM
websocket-driver (0.7.0)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (2.1.0)
nokogiri (~> 1.3)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.8.7.6)

PLATFORMS
Expand All @@ -278,7 +277,7 @@ DEPENDENCIES
bootstrap-sass (= 3.1.1.1)
bundler (~> 1.3)
byebug
capybara (~> 2.2.0)
capybara (~> 3.13.2)
capybara-screenshot (~> 1.0.11)
coderay (~> 1.1.0)
faker (~> 1.8.7)
Expand All @@ -288,7 +287,7 @@ DEPENDENCIES
jquery-rails (~> 4.3.3)
jquery-ui-rails (~> 5.0.5)
jquery-ui-themes (~> 0.0.11)
poltergeist (~> 1.9.0)
poltergeist (~> 1.18.0)
rails (~> 5.2.0)
rake (~> 10.1)
rdoc (~> 4.2.0)
Expand Down
1 change: 1 addition & 0 deletions spec/acceptance_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
require 'capybara-screenshot/rspec'
Capybara::Screenshot.prune_strategy = :keep_last_run
end
Capybara.server = :webrick

# Slow down responses to help debug tests that have race conditions.
if ENV['TEST_RESPONSE_DELAY']
Expand Down
Loading

0 comments on commit 4f9a8ec

Please sign in to comment.