Skip to content

Commit

Permalink
Use watir 7 for specs
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlakshya authored Jul 20, 2024
1 parent e6419be commit bf7f951
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
needs: lint
strategy:
matrix:
ruby-version: [2.7, 3.0, jruby]
ruby-version: [3.0, jruby]
env:
DISPLAY: ":0"
steps:
Expand Down
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ gem 'rubocop-performance', '~> 1.0'
gem 'rubocop-rake', '~> 0.6.0'
gem 'rubocop-rspec', '~> 2.0'
gem 'simplecov', '~> 0.22'
gem 'watir', '~> 6.0'
gem 'webdrivers', '~> 5.0'
gem 'watir', '~> 7.0'
3 changes: 0 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
require 'rspec'
require 'screen-recorder'
require 'watir'
require 'webdrivers'

RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
Expand All @@ -23,8 +22,6 @@

# Set Selenium webdrivers install folder
config.before(:suite) do
Webdrivers.install_dir = 'webdrivers_bin'

# Establish clean state
delete_file '*.mkv'
delete_file '*.png'
Expand Down

0 comments on commit bf7f951

Please sign in to comment.