Closed hoangmirs closed 1 year ago
There is a recent bug when running system tests:
Failures: 1) Reset password displays the reset password screen Got 0 failures and 2 other errors: 1.1) Failure/Error: visit edit_user_password_path(reset_password_token: raw) Webdrivers::VersionError: Unable to find latest point release version for 115.0.5790. You appear to be using a non-production version of Chrome. Please set `Webdrivers::Chromedriver.required_version = <desired driver version>` to a known chromedriver version: https://chromedriver.storage.googleapis.com/index.html # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/chromedriver.rb:83:in `rescue in latest_point_release' # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/chromedriver.rb:65:in `latest_point_release' # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/chromedriver.rb:39:in `block in latest_version' # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/common.rb:166:in `with_cache' # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/chromedriver.rb:37:in `latest_version' # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/common.rb:122:in `download_version' # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/common.rb:126:in `download_url' # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/common.rb:98:in `update' # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/chromedriver.rb:156:in `block in <main>' # /bundle/ruby/3.0.0/gems/selenium-webdriver-4.8.6/lib/selenium/webdriver/common/driver_finder.rb:25:in `path' # /bundle/ruby/3.0.0/gems/selenium-webdriver-4.8.6/lib/selenium/webdriver/common/local_driver.rb:49:in `process_options' # /bundle/ruby/3.0.0/gems/selenium-webdriver-4.8.6/lib/selenium/webdriver/common/local_driver.rb:27:in `initialize_local_driver' # /bundle/ruby/3.0.0/gems/selenium-webdriver-4.8.6/lib/selenium/webdriver/chrome/driver.rb:34:in `initialize' # /bundle/ruby/3.0.0/gems/selenium-webdriver-4.8.6/lib/selenium/webdriver/common/driver.rb:47:in `new' # /bundle/ruby/3.0.0/gems/selenium-webdriver-4.8.6/lib/selenium/webdriver/common/driver.rb:47:in `for' # /bundle/ruby/3.0.0/gems/selenium-webdriver-4.8.6/lib/selenium/webdriver.rb:88:in `for' # /bundle/ruby/3.0.0/gems/capybara-3.39.0/lib/capybara/selenium/driver.rb:83:in `browser' # /bundle/ruby/3.0.0/gems/capybara-3.39.0/lib/capybara/selenium/driver.rb:104:in `visit' # /bundle/ruby/3.0.0/gems/capybara-3.39.0/lib/capybara/session.rb:280:in `visit' # /bundle/ruby/3.0.0/gems/capybara-3.39.0/lib/capybara/dsl.rb:52:in `call' # /bundle/ruby/3.0.0/gems/capybara-3.39.0/lib/capybara/dsl.rb:52:in `visit' # ./spec/systems/reset_password_spec.rb:[72](https://github.com/nimblehq/nimble-survey-web/actions/runs/5618437192/job/15280402692?pr=104#step:7:73):in `visit_reset_password_path' # ./spec/systems/reset_password_spec.rb:18:in `block (2 levels) in <top (required)>' # ./spec/support/vcr.rb:31:in `block (2 levels) in <top (required)>' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry' # ./spec/support/retry.rb:13:in `block (2 levels) in <main>' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry' # /bundle/ruby/3.0.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup' # ------------------ # --- Caused by: --- # Webdrivers::NetworkError: # Net::HTTPServerException: 404 "Not Found" with https://chromedriver.storage.googleapis.com/LATEST_RELEASE_115.0.5[79](https://github.com/nimblehq/nimble-survey-web/actions/runs/5618437192/job/15280402692?pr=104#step:7:80)0 # /bundle/ruby/3.0.0/gems/webdrivers-5.2.0/lib/webdrivers/network.rb:19:in `get'
This is the related issue from webdrivers
This error should not happen.
Issue
There is a recent bug when running system tests:
This is the related issue from webdrivers
Expected
This error should not happen.
Steps to reproduce