-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[build] minimize number of ruby targets run with bidi #16477
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
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
🔗 Related Issues
The goal is to run existing api through webdriver-bidi and webdriver-classic settings while we transition, but there is no need to run everything with webdriver-bidi when it hasn't been implemented yet
💥 What does this PR do?
reduces how many tests are run to only those affected
🔧 Implementation Notes
I was going to do this with Ruby guards, but that would be harder to deal with
🔄 Types of changes
PR Type
Enhancement
Description
Minimize Ruby BiDi test targets by only creating -bidi variants for tests explicitly tagged with "bidi"
Remove unnecessary BiDi test targets from skipped tests list
Consolidate BiDi-specific tests into dedicated test files with proper tagging
Simplify build configuration by eliminating redundant BiDi target generation
Diagram Walkthrough
File Walkthrough
tests.bzl
Add conditional BiDi target generation based on tags
rb/spec/tests.bzl
-bidi
target creation for tests nottagged with "bidi"
build
needed
BUILD.bazel
Consolidate BiDi tests with selective tagging
rb/spec/integration/selenium/webdriver/BUILD.bazel
bidi_spec.rb
from standalone target to list-based generationwith "bidi" tag
navigation_spec.rb
andnetwork_spec.rb
to BiDi-specific testfiles
rb_integration_test
definition to loop-basedgeneration for BiDi tests
network_spec.rb
to exclusion list in glob patternBUILD.bazel
Tag BiDi tests with bidi identifier
rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel
"exclusive-if-local" tag
generation
.skipped-tests
Remove obsolete BiDi test skip entries
.skipped-tests
service-chrome-bidi
,driver-firefox-beta-bidi
,element-chrome-bidi
removedgeneration
BUILD.bazel
Remove unused BiDi dependency
rb/spec/BUILD.bazel
//rb/spec/integration/selenium/webdriver:bidi
target
library reference