-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[rb] Add support for beta chrome #15417
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
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
…into rb_add_support_for_chrome_beta
…t_for_chrome_beta
…into rb_add_support_for_chrome_beta
Thank you @titusfortner for the review! appreciated, I'm trying to addressed the comments today and tomorrow, I will be resolving the remaining ones until it works and ping you for a review again :) |
I did another review of what Alex did for Firefox, and we can just copy exactly what Firefox does for chrome. There are good reasons we don't want to implement browser version environment variable right now |
…t_for_chrome_beta
…ned browsers (SeleniumHQ#15115)" This reverts commit 86f165e
You need to update the browser versions again:
|
…into rb_add_support_for_chrome_beta
@cgoldberg do we lint the python files in the scripts directory? If not, is it an easy add? |
We only lint stuff under /py ... I can add scripts |
@aguspe I think this is running into the same issue we hit with Python & JS where tests are being skipped that aren't obvious. Let's me remove them from the file and try to add guards with reasons. The JS test is passing in trunk, now, so I'll merge that one. |
User description
Motivation and Context
The purpose of this PR is to add the ability for ruby tests to run using chrome-beta to make it easier to debug
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Added support for running tests with Chrome Beta.
Introduced
chrome_beta
method to configure Chrome Beta driver.Updated Bazel build files to include Chrome Beta configuration.
Enhanced test environment to handle Chrome Beta driver setup.
Changes walkthrough 📝
test_environment.rb
Add Chrome Beta driver support in test environment
rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb
chrome_beta
method to configure Chrome Beta driver.create_driver!
to handle Chrome Beta driver.tests.bzl
Add Chrome Beta configuration to Bazel tests
rb/spec/tests.bzl
BUILD.bazel
Include Chrome Beta in supported browsers list
rb/spec/integration/BUILD.bazel
chrome-beta
to the list of supported browsers.