Skip to content

Commit

Permalink
Fix tests (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillplatonov authored Sep 15, 2023
1 parent dd57735 commit 191198f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ gem "foreman"
gem "capybara"
gem "sqlite3"
gem "standard"
# TODO: Keep until support for Ruby 2.7 is dropped
gem "selenium-webdriver", "=4.9.0"
9 changes: 7 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ GEM
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.13.0)
rubyzip (2.3.2)
selenium-webdriver (4.12.0)
selenium-webdriver (4.9.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
Expand Down Expand Up @@ -256,6 +256,10 @@ GEM
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
webdrivers (5.3.1)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (~> 4.0, < 4.11)
websocket (1.2.9)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
Expand Down Expand Up @@ -284,12 +288,13 @@ DEPENDENCIES
puma (~> 6.0)
rails (~> 7.0.8)
rake (~> 13.0)
selenium-webdriver (~> 4.12)
selenium-webdriver (= 4.9.0)
sprockets-rails
sqlite3
standard
stimulus-rails
turbo-rails
webdrivers (~> 5.0)

BUNDLED WITH
2.3.11
3 changes: 2 additions & 1 deletion polaris_view_components.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "view_component", ">= 3.0.0", "< 4.0.0"

spec.add_development_dependency "capybara", "~> 3"
spec.add_development_dependency "selenium-webdriver", "~> 4.12"
spec.add_development_dependency "webdrivers", "~> 5.0"
spec.add_development_dependency "selenium-webdriver", "~> 4.1"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "pry"
spec.add_development_dependency "sprockets-rails"
Expand Down
1 change: 1 addition & 0 deletions test/application_system_test_case.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "test_helper"
require "webdrivers/geckodriver"

Capybara.server = :puma, {Silent: true}
Capybara.default_max_wait_time = 5
Expand Down

0 comments on commit 191198f

Please sign in to comment.