Skip to content

Commit

Permalink
Fix webdriver
Browse files Browse the repository at this point in the history
  • Loading branch information
yoldas committed Jan 3, 2024
1 parent 2b9f98d commit 752c23e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ruby_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
with:
bundler-cache: true # Runs bundle install and caches gems. See the ruby_test.yml
# example if you need more control over bundler.
- name: Update webpacker
run: RAILS_ENV=test bundle exec rake webdrivers:chromedriver:update
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ group :test do
gem 'minitest-rails-capybara'
gem 'mocha'
gem 'rails-controller-testing'
gem 'selenium-webdriver', '~> 4.1', require: false
gem 'simplecov', require: false
gem 'timecop'
gem 'webdrivers'
end
15 changes: 7 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ GEM
net-smtp (0.3.3)
net-protocol
nio4r (2.5.8)
nokogiri (1.14.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.14.2-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.14.2-x86_64-linux)
Expand Down Expand Up @@ -247,7 +249,7 @@ GEM
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.7.0)
rexml (3.2.5)
rexml (3.2.6)
roo (2.8.3)
nokogiri (~> 1)
rubyzip (>= 1.3.0, < 3.0.0)
Expand Down Expand Up @@ -278,7 +280,7 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
selenium-webdriver (4.8.1)
selenium-webdriver (4.16.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
Expand Down Expand Up @@ -310,12 +312,8 @@ GEM
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.4.2)
webdrivers (5.2.0)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (~> 4.0)
webrick (1.7.0)
websocket (1.2.9)
websocket (1.2.10)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
Expand All @@ -326,6 +324,7 @@ GEM
zeitwerk (2.6.7)

PLATFORMS
arm64-darwin-22
x86_64-darwin-21
x86_64-linux

Expand Down Expand Up @@ -355,12 +354,12 @@ DEPENDENCIES
rubocop-rails
sanger_barcode_format!
sassc-rails
selenium-webdriver (~> 4.1)
sequencescape-client-api
simplecov
sprint_client
timecop
uglifier (>= 1.3.0)
webdrivers
yard

BUNDLED WITH
Expand Down
2 changes: 0 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
ENV['RAILS_ENV'] = 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
require 'webdrivers/chromedriver'
Webdrivers::Chromedriver.update
require 'minitest/rails'
require 'mocha/minitest'
# To add Capybara feature tests add `gem "minitest-rails-capybara"`
Expand Down

0 comments on commit 752c23e

Please sign in to comment.