Project

General

Profile

Actions

Defect #37884

closed

All system tests fail on 4.2-stable branch with "ArgumentError: unknown keyword: :desired_capabilities"

Added by Ko Nagase about 2 years ago. Updated about 2 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I am trying system test on GitHub Actions CI, but I noticed that all system tests failed on "4.2-stable" branch.
https://github.com/sanak/redmine_text_blocks/actions/runs/3382111397/jobs/5616692628#step:13:25

Error:
IssuesSystemTest#test_update_journal_notes_with_preview:
ArgumentError: unknown keyword: :desired_capabilities
    test/application_system_test_case.rb:74:in `log_user'
    test/system/issues_test.rb:492:in `test_update_journal_notes_with_preview'

Error:
IssuesSystemTest#test_update_journal_notes_with_preview:
ArgumentError: unknown keyword: :desired_capabilities
    /usr/local/bundle/gems/selenium-webdriver-4.5.0/lib/selenium/webdriver/common/driver.rb:319:in `create_bridge'
    /usr/local/bundle/gems/selenium-webdriver-4.5.0/lib/selenium/webdriver/common/driver.rb:74:in `initialize'
    /usr/local/bundle/gems/selenium-webdriver-4.5.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
    /usr/local/bundle/gems/selenium-webdriver-4.5.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
    /usr/local/bundle/gems/selenium-webdriver-4.5.0/lib/selenium/webdriver.rb:89:in `for'
    /usr/local/bundle/gems/capybara-3.31.0/lib/capybara/selenium/driver.rb:51:in `browser'
:
Finished in 1.521672s, 34.1729 runs/s, 0.6572 assertions/s.
52 runs, 1 assertions, 0 failures, 52 errors, 0 skips

The same system test on "5.0-stable" branch was no problem about the error, even if a few tests failed.
https://github.com/sanak/redmine_text_blocks/actions/runs/3382111397/jobs/5616693089

:
Finished in 113.501929s, 0.5198 runs/s, 2.7048 assertions/s.
59 runs, 307 assertions, 3 failures, 3 errors, 0 skips


Files

Actions

Also available in: Atom PDF