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
71 stars 33 forks source link

Fix missing Selenium Webdriver error in CircleCI tests #98

Closed zh closed 4 months ago

zh commented 6 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 4 months ago

Already implemented in another PR.