Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome115以上を使用している場合にWebdrivers::VersionErrorが発生しない様にする。 #6982

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,5 @@ group :test do
gem 'minitest-retry'
gem 'selenium-webdriver'
gem 'vcr'
gem 'webdrivers'
gem 'webmock'
end
31 changes: 13 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ GEM
activerecord (>= 6.0, < 7.1)
acts_as_list (1.0.4)
activerecord (>= 4.2)
addressable (2.8.4)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
any_login (1.5.2)
rails (>= 6.0)
Expand All @@ -133,7 +133,7 @@ GEM
thor (>= 0.20)
tty-table (~> 0.10)
byebug (11.1.3)
capybara (3.39.1)
capybara (3.39.2)
addressable
matrix
mini_mime (>= 0.1.3)
Expand Down Expand Up @@ -282,8 +282,8 @@ GEM
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mini_magick (4.11.0)
mini_mime (1.1.2)
mini_portile2 (2.8.2)
mini_mime (1.1.5)
mini_portile2 (2.8.4)
minitest (5.17.0)
minitest-ci (3.4.0)
minitest (>= 5.0.6)
Expand All @@ -304,10 +304,10 @@ GEM
netrc (0.11.0)
newspaper (0.2.0)
nio4r (2.5.9)
nokogiri (1.15.1)
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.15.1-x86_64-darwin)
nokogiri (1.15.4-x86_64-darwin)
racc (~> 1.4)
oauth (0.6.2)
snaky_hash (~> 2.0)
Expand Down Expand Up @@ -354,12 +354,12 @@ GEM
pry (>= 0.13, < 0.15)
psych (4.0.6)
stringio
public_suffix (5.0.1)
public_suffix (5.0.3)
puma (6.3.1)
nio4r (~> 2.0)
raabro (1.4.0)
racc (1.6.2)
rack (2.2.7)
racc (1.7.1)
rack (2.2.8)
rack-cors (1.1.1)
rack (>= 2.0.0)
rack-dev-mark (0.7.9)
Expand Down Expand Up @@ -423,7 +423,7 @@ GEM
tilt
recaptcha (5.12.3)
json
regexp_parser (2.8.0)
regexp_parser (2.8.2)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
Expand All @@ -434,7 +434,7 @@ GEM
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
retriable (3.1.2)
rexml (3.2.5)
rexml (3.2.6)
rollbar (3.3.2)
rss (0.2.9)
rexml
Expand Down Expand Up @@ -470,7 +470,7 @@ GEM
ffi (~> 1.12)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
selenium-webdriver (4.9.1)
selenium-webdriver (4.14.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
Expand Down Expand Up @@ -551,10 +551,6 @@ GEM
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webdrivers (5.2.0)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (~> 4.0)
webmock (3.18.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
Expand All @@ -565,7 +561,7 @@ GEM
railties (>= 5.2)
semantic_range (>= 2.3.0)
webrick (1.7.0)
websocket (1.2.9)
websocket (1.2.10)
websocket-client-simple (0.6.0)
event_emitter
websocket
Expand Down Expand Up @@ -666,7 +662,6 @@ DEPENDENCIES
vcr
view_source_map
web-console (>= 4.1.0)
webdrivers
webmock
webpacker (~> 5.0)

Expand Down
3 changes: 0 additions & 3 deletions test/supports/vcr_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
name = 'UTF-8' || !http_message.body.valid_encoding?
http_message.body.encoding.name == name
end

driver_hosts = Webdrivers::Common.subclasses.map { |driver| URI(driver.base_url).host }
c.ignore_hosts(*driver_hosts)
end

module VCRHelper
Expand Down
1 change: 0 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

Capybara.default_max_wait_time = 10
Capybara.disable_animation = true
Webdrivers.cache_time = 86_400
Minitest::Retry.use! if ENV['CI']

class ActiveSupport::TestCase
Expand Down