-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[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
[rb] Add support for beta chrome #15417
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
@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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes make sense, though I am not sure what version should be in repositories. However, if we want to auto-update the version of pinned beta Chrome, we need to change scripts/pinned_browsers.py
so it automatically switches changes repositories.bzl
to a new beta version.
…into rb_add_support_for_chrome_beta # Conflicts: # common/repositories.bzl
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.