agileware-jp / redmine_issue_templates

Redmine Issue Template. Pull requests, reporting issues, stars and sponsoring are always welcome!
https://www.redmine.org/plugins/redmine_issue_templates
GNU General Public License v2.0
65 stars 28 forks source link

Fix missing Selenium Webdriver error in CircleCI tests #98

Closed zh closed 1 week ago

zh commented 2 months ago

Story:

Failure/Error: log_user(user.login, user.login)
  NameError: uninitialized constant Selenium::WebDriver::Chrome::Options
  # ./plugins/redmine_issue_templates/spec/rails_helper.rb:19

This pull request addresses an issue encountered when running Redmine v4.2 with an older version of selenium-webdriver. The older version of selenium-webdriver causes a NameError: uninitialized constant Selenium::WebDriver::Chrome::Options error.

To resolve this issue, we have added a step in the CircleCI configuration to update the selenium-webdriver gem to version 3.4.0 or later in the Gemfile.

zh commented 1 week ago

Already implemented in another PR.