Project

General

Profile

Actions

Patch #37558

open

Update webdrivers to 5.0

Added by Takashi Kato 8 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Upgrade webdrivers, etc. To enable system tests can be run on ruby3 or later.

In addition, we do not load the driver for localhost when we set `SELENIUM_REMOTE_URL` to support a host without a browser (Docker environment, etc.).


Files

0001-Upgrade-webdrivers.patch (4.9 KB) 0001-Upgrade-webdrivers.patch Takashi Kato, 2022-08-07 01:09
Actions #1

Updated by Go MAEDA 8 months ago

Currently, the version of Webdrivers gem is fixed at 4.6.1 (see r21257). This is probably for compatibility with Ruby 2.5. Webdrivers 2.6.1 is the last version that supports Ruby 2.5.

However, Redmine no longer supports Ruby 2.5 after r21610, so now we can use the latest version of Webdrivers gem.

Actions #2

Updated by Go MAEDA 8 months ago

  • Target version set to Candidate for next major release
Actions #3

Updated by Go MAEDA 7 months ago

  • Target version changed from Candidate for next major release to 5.1.0

Setting the target version to 5.1.0.

Actions #4

Updated by Ko Nagase 6 months ago

I encountered webdriver issue on my M1 Mac environment recently. (At least, there was no problem at 2022-10-10(Mon).)

% bundle exec rails test:system
rails aborted!
Webdrivers::NetworkError: Net::HTTPServerException: 404 "Not Found" with https://chromedriver.storage.googleapis.com/106.0.5249.61/chromedriver_mac64_m1.zip

From the following Japanese article, updating webdrivers >= 5.2.0 seems to be necessary,

so, I hope that this update will be merged before 5.1.0 for system test.

Actions

Also available in: Atom PDF