-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Per-browser test targets and RBE #13683
Conversation
CI Failure Feedback(Checks updated until commit 30e2bf8)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
81239c9
to
37ab6c0
Compare
PR Description updated to latest commit (37ab6c0)
|
PR Review
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
37ab6c0
to
0e00991
Compare
1d42236
to
e585d0f
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## trunk #13683 +/- ##
=======================================
Coverage 58.48% 58.48%
=======================================
Files 86 86
Lines 5270 5270
Branches 220 220
=======================================
Hits 3082 3082
Misses 1968 1968
Partials 220 220 ☔ View full report in Codecov by Sentry. |
User description
Follow up to #13661.
This PR generates per-browser test targets in Bazel and hooks them into RBE. See documentation in README for how targets are generated from RSpec files.
Type
enhancement, tests
Description
setup-bazel
action version0.8.1
.--build_tests_only
and--test_size_filters
.@NotYetImplemented(FIREFOX)
annotations from multiple Java test methods, enabling tests for Firefox.Changes walkthrough
6 files
LocateNodesTest.java
Enable LocateNodes Tests for Firefox in Bidi BrowsingContext
java/test/org/openqa/selenium/bidi/browsingcontext/LocateNodesTest.java
@NotYetImplemented(FIREFOX)
annotations from multiple testmethods.
NetworkEventsTest.java
Enable NetworkEvents Test for Firefox
java/test/org/openqa/selenium/bidi/network/NetworkEventsTest.java
@NotYetImplemented(FIREFOX)
annotation fromcanListenToFetchError
test method.BUILD.bazel
Restrict Chrome Integration Tests to Chrome Browser
rb/spec/integration/selenium/webdriver/chrome/BUILD.bazel
chrome
as the only browser for Chrome-specific integrationtests.
BUILD.bazel
Restrict Edge Integration Tests to Edge Browser
rb/spec/integration/selenium/webdriver/edge/BUILD.bazel
edge
as the only browser for Edge-specific integrationtests.
BUILD.bazel
Restrict Firefox Integration Tests to Firefox Browsers
rb/spec/integration/selenium/webdriver/firefox/BUILD.bazel
firefox
andfirefox-beta
as the browsers forFirefox-specific integration tests.
BUILD.bazel
Restrict Safari Integration Tests to Safari Browsers
rb/spec/integration/selenium/webdriver/safari/BUILD.bazel
safari
andsafari-preview
as the browsers forSafari-specific integration tests.
2 files
test_environment.rb
Support Custom Edge and Firefox Driver Paths in Ruby Tests
rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb
MSEDGEDRIVER_BINARY
andGECKODRIVER_BINARY
.firefox_options
to not specifically setbrowser_version
to'stable'.
tests.bzl
Generate Per-Browser Test Targets for Ruby Integration Tests
rb/spec/tests.bzl
tests.
2 files
browsers.bzl
Document `no-sandbox` Usage for Firefox in Bazel Config
common/browsers.bzl
no-sandbox
for Firefox due to abug.
README.md
Update Ruby Test Commands and Environment Variables in README
README.md
generation logic.
9 files
repositories.bzl
Update Pinned Browser Versions and Checksums
common/repositories.bzl
bazel.yml
Update GitHub Actions Workflow for Bazel Setup
.github/workflows/bazel.yml
setup-bazel
action version to0.8.1
.ci-ruby.yml
Refine Ruby CI Workflow Commands
.github/workflows/ci-ruby.yml
--build_tests_only
and--test_size_filters
.ci.yml
Update GitHub Actions Workflow for Bazel Setup
.github/workflows/ci.yml
setup-bazel
action version to0.8.1
..skipped-tests
Update Skipped Tests List with New Naming Convention
.skipped-tests
naming convention.
BUILD.bazel
Adjust Visibility for Ruby Spec Subpackages in Bazel Build File
common/extensions/BUILD.bazel
//rb/spec:__subpackages__
.BUILD.bazel
Update Dependencies for Ruby Spec Library Target
rb/spec/BUILD.bazel
spec
library target.BUILD.bazel
Simplify Dependencies for Ruby WebDriver Integration Tests
rb/spec/integration/selenium/webdriver/BUILD.bazel
driver
andelement
test targets.BUILD.bazel
Simplify Dependencies for Ruby Remote WebDriver Integration Tests
rb/spec/integration/selenium/webdriver/remote/BUILD.bazel
targets.