You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enabled tests for chrome beta as per discussion - #16118 (comment)
🔧 Implementation Notes
Ruby already added http archives for chrome beta and chromedriver - #15874
💡 Additional Considerations
🔄 Types of changes
New feature (non-breaking change which adds functionality and tests!)
PR Type
Enhancement
Description
Enable Chrome Beta browser testing in Python CI-RBE
Add Chrome Beta configuration to Bazel build system
Skip DevTools tests for Chrome Beta compatibility
Create dedicated test suite for Chrome Beta
Diagram Walkthrough
flowchart LR
A["browsers.bzl"] --> B["Add chrome_beta_data import"]
A --> C["Define chrome_beta_args"]
A --> D["Add chrome-beta browser config"]
E["BUILD.bazel"] --> F["Skip devtools_tests.py for chrome-beta"]
E --> G["Create test-chrome-beta suite"]
D --> H["Chrome Beta Testing Enabled"]
G --> H
Loading
File Walkthrough
Relevant files
Enhancement
browsers.bzl
Add Chrome Beta browser configuration
py/private/browsers.bzl
Import chrome_beta_data from common browsers configuration
Add chrome_beta_args with Linux and macOS Chrome Beta binary paths
Define new "chrome-beta" browser configuration in BROWSERS dict
We should disable devtools_tests.py for chrome beta runs since we generate the pdl files for latest 3 stable releases only (correct me if I am wrong!).
• Fix ChromeDriver connection failure error that occurs after first instance
• Resolve "ConnectFailure (Connection refused)" error for subsequent ChromeDriver instances
• Ensure proper ChromeDriver instantiation for Ubuntu 16.04.4 with Chrome 65.0.3325.181 and ChromeDriver 2.35
• Fix JavaScript execution in link href on click() for Firefox
• Ensure click() triggers JavaScript in href attribute for Firefox 42.0
• Restore functionality that worked in Selenium 2.47.1 but broke in 2.48.0/2.48.2
The conditional exclusion logic is duplicated across multiple test suites. Consider extracting this into a function or variable to improve maintainability and reduce code duplication.
Why: The suggestion correctly identifies duplicated conditional logic for test exclusions across two test suites and proposes a valid refactoring to improve code maintainability.
I agree, it's a lot flaky. Let's add it too .skipped-tests in the other PR I will open to test this.
I am not sure whether .skipped-tests is honored by CI running on GH runners.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
🔗 Related Issues
💥 What does this PR do?
Enabled tests for chrome beta as per discussion - #16118 (comment)
🔧 Implementation Notes
Ruby already added http archives for chrome beta and chromedriver - #15874
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Enable Chrome Beta browser testing in Python CI-RBE
Add Chrome Beta configuration to Bazel build system
Skip DevTools tests for Chrome Beta compatibility
Create dedicated test suite for Chrome Beta
Diagram Walkthrough
File Walkthrough
browsers.bzl
Add Chrome Beta browser configurationpy/private/browsers.bzl
chrome_beta_datafrom common browsers configurationchrome_beta_argswith Linux and macOS Chrome Beta binary pathsBUILD.bazel
Configure Chrome Beta test suitespy/BUILD.bazel
devtools_tests.pyfor chrome-beta in common test suitestest-chrome-betatest suite for Chrome Beta specifictests