switch to webdrivers gem instead of chromedriver-update gem

parent 51d05b90
Pipeline #77090 passed with stage
in 15 minutes and 27 seconds
......@@ -59,7 +59,6 @@ system:
- .test-extend
- .retry-dropped-runners
script:
- bundle exec chromedriver-update $(cat /chrome_driver_version.txt)
- bundle exec rails test:system
artifacts:
paths:
......
......@@ -7,13 +7,13 @@ end
gem 'rails', '>= 5.2.0', '< 6.0.0'
gem 'bootsnap', require: false
gem 'autocomplete_rails'
gem 'caxlsx'
gem 'caxlsx_rails'
gem 'bootsnap', require: false
gem 'bootstrap-datepicker-rails'
gem 'bootstrap-sass'
gem 'bootstrap-will_paginate'
gem 'caxlsx'
gem 'caxlsx_rails'
gem 'cocoon'
gem 'coffee-rails'
gem 'combine_pdf'
......@@ -86,10 +86,10 @@ end
group :test do
gem 'capybara'
gem 'capybara-selenium'
gem 'chromedriver-helper'
gem 'database_cleaner'
gem 'minitest'
gem 'policy-assertions'
gem 'roo'
gem 'selenium-webdriver'
gem 'webdrivers', '~> 4.0'
end
......@@ -48,8 +48,6 @@ GEM
afm (0.2.2)
airbrussh (1.4.0)
sshkit (>= 1.6.1, != 1.7.0)
archive-zip (0.12.0)
io-like (~> 0.3.0)
arel (9.0.0)
ast (2.4.0)
autocomplete_rails (0.4.1)
......@@ -119,9 +117,6 @@ GEM
caxlsx (>= 3.0)
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
chromedriver-helper (2.1.1)
archive-zip (~> 0.10)
nokogiri (~> 1.8)
climate_control (0.2.0)
cocoon (1.2.14)
coderay (1.1.2)
......@@ -194,7 +189,6 @@ GEM
rails (> 4.0.0)
i18n_yaml_sorter (0.2.0)
iniparse (1.5.0)
io-like (0.3.1)
jbuilder (2.10.0)
activesupport (>= 5.0.0)
jquery-rails (4.4.0)
......@@ -449,6 +443,10 @@ GEM
unicorn
warden (1.2.8)
rack (>= 2.0.6)
webdrivers (4.3.0)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (>= 3.0, < 4.0)
websocket-driver (0.7.1)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.4)
......@@ -476,7 +474,6 @@ DEPENDENCIES
capybara-selenium
caxlsx
caxlsx_rails
chromedriver-helper
cocoon
coffee-rails
combine_pdf
......@@ -538,6 +535,7 @@ DEPENDENCIES
spring
sprockets-es6
uglifier
webdrivers (~> 4.0)
wicked_pdf
will-paginate-i18n
will_paginate
......
require 'test_helper'
require 'webdrivers/chromedriver'
require 'selenium/webdriver'
Capybara.register_driver :chrome_headless do |app|
......
......@@ -2,6 +2,7 @@ require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
require 'database_cleaner'
require 'policy_assertions'
require 'webdrivers/chromedriver'
Dir[Rails.root.join 'test/utility/**/*.rb'].each { |path| require path }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment