Skip to content

Commit

Permalink
Upgrade capybara and selenium-webdriver (#706)
Browse files Browse the repository at this point in the history
* Upgrade capybara and selenium-webdriver

Also, suppress deprecation warnings from selenium that we can't do
anything about.

* Do not pin capybara; let's stay current
  • Loading branch information
bess authored Oct 23, 2024
1 parent fc7c3a5 commit 7a6e7dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ end

group :test do
gem 'axe-core-rspec'
gem 'capybara', '>= 3.26'
gem 'capybara'
gem 'selenium-webdriver'
gem 'webmock'
end
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ GEM
responders (3.1.1)
actionpack (>= 5.2)
railties (>= 5.2)
rexml (3.3.7)
rexml (3.3.8)
rinku (2.0.6)
rsolr (2.6.0)
builder (>= 2.1.2)
Expand Down Expand Up @@ -629,7 +629,7 @@ DEPENDENCIES
capistrano (= 3.16, < 3.17)
capistrano-passenger
capistrano-rails (~> 1.4)
capybara (>= 3.26)
capybara
coveralls_reborn (~> 0.28)
devise
devise-guests (~> 0.6)
Expand Down
5 changes: 5 additions & 0 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

# Suppress selenium deprecation messages, since we can't do anything about them.
# We depend on selenium-webdriver to do that for us.
selenium_logger = Selenium::WebDriver.logger
selenium_logger.level = :error

config.cache_classes = false
config.action_view.cache_template_loading = true

Expand Down

0 comments on commit 7a6e7dd

Please sign in to comment.