Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve feature spec selenium error: 'Selenium::WebDriver::Remote::Driver needs :options to be set' #64

Closed
1 task
Tracked by #55
ShanaLMoore opened this issue Aug 10, 2023 · 0 comments
Assignees
Labels
not end user testable this ticket can be closed after verified by a dev

Comments

@ShanaLMoore
Copy link

ShanaLMoore commented Aug 10, 2023

Summary

Many of the feature specs are failing with error:

            ArgumentError:
              Selenium::WebDriver::Remote::Driver needs :options to be set

This ticket is to get the specs running without this error. If there are still spec failures after doing so, create a separate ticket.

related #55

Acceptance Criteria

  • Run feature specs without the selenium error.

Notes

Specs (ran locally)

Failures

https://gist.github.com/kirkkwang/368c818e5f8a1ec9020bbe28699ca127

Details

https://gist.github.com/kirkkwang/7976eafb2c0cd289a9c796778ba8cc9b

@ShanaLMoore ShanaLMoore self-assigned this Aug 11, 2023
@ShanaLMoore ShanaLMoore added the not end user testable this ticket can be closed after verified by a dev label Aug 11, 2023
@ShanaLMoore ShanaLMoore changed the title fix feature specs (selenium error) Resolve feature spec selenium error: 'Selenium::WebDriver::Remote::Driver needs :options to be set' Aug 11, 2023
ShanaLMoore added a commit to WGBH-MLA/ams that referenced this issue Aug 11, 2023
desired_capabilities is deprecated. This commit changes the way we initialize selenium driver per the newer requirements when dual booting. At this point, it resolves the error how there are still local timeout issues.

ref:
- https://github.com/SeleniumHQ/selenium/blob/trunk/rb/lib/selenium/webdriver/remote/driver.rb#L32

Issue:
- scientist-softserv#64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not end user testable this ticket can be closed after verified by a dev
Projects
None yet
Development

No branches or pull requests

1 participant