summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-10-29 11:52:29 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-10-29 11:52:29 +0000
commitcf3ae915eb8beba652055d534b7fe221cd0eb31b (patch)
treec319698e62603a5bdb3a49102af955617b09cedb /Gemfile
parent36a7932003e21c25269317d8eeb03681033c8119 (diff)
downloadredmine-cf3ae915eb8beba652055d534b7fe221cd0eb31b.tar.gz
redmine-cf3ae915eb8beba652055d534b7fe221cd0eb31b.zip
Update webdrivers gem (#37558).
Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22397 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 405797510..1285ed49b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -99,9 +99,13 @@ group :test do
gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
# For running system tests
gem 'puma'
- gem 'capybara', '~> 3.38.0'
- gem "selenium-webdriver", "~> 3.142.7"
- gem 'webdrivers', '4.6.1', require: false
+ gem "capybara", ">= 3.39"
+ if Gem.ruby_version < Gem::Version.new('3.0')
+ gem "selenium-webdriver", "<= 4.9.0"
+ gem "webdrivers", require: false
+ else
+ gem "selenium-webdriver", ">= 4.11.0"
+ end
# RuboCop
gem 'rubocop', '~> 1.57.0', require: false
gem 'rubocop-performance', '~> 1.19.0', require: false