-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
[rb] add low-level BiDi protocol integration specs #17878
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c8b37e0
[rb] scaffold BiDi protocol integration specs from schema
titusfortner 1375d0b
[build] run edge-bidi targets in ci-ruby full suite
titusfortner fbe42ec
[rb] raise BiDi SerializationError on wire deserialization mismatches
titusfortner e494908
[rb] guard bidi protocol specs for unsupported browser commands and tβ¦
titusfortner 6397cfa
[rb] add edge guards and edge timeout skips for bidi protocol specs
titusfortner 2c3a80c
[build] run bidi protocol specs in strict serialization mode
titusfortner a6e40d6
[rb] guard Safari bidi protocol specs for strict-mode SerializationError
titusfortner 187b2c4
[rb] type inbound BiDi enum errors as SerializationError and relocateβ¦
titusfortner 4f5d62b
[rb] skip unsupported BiDi modules on Safari with per-module support β¦
titusfortner 8094039
[rb] drop exception class from volatile Safari BiDi pending guards
titusfortner 666b9ff
[rb] scope BiDi protocol spec guards by browser/OS and mirror the reaβ¦
titusfortner bee1210
[rb] skip Edge bluetooth device-response in CI and fix subscribe callβ¦
titusfortner 57638eb
[rb] skip chromium bluetooth in CI and correct firefox setViewport/stβ¦
titusfortner 9358d79
[rb] scope chromium bluetooth skip to CI so local runs still exercise it
titusfortner c76c1af
[rb] pin Safari setViewport pending to the assertion error and skip cβ¦
titusfortner da67f4e
[rb] dedupe the chromium bluetooth device-response skip into one sharβ¦
titusfortner 58556b2
[rb] dedupe repeated Safari/Chromium guards in script and browsing_coβ¦
titusfortner 628da2f
[rb] move duplicated BiDi guards onto describe/context blocks insteadβ¦
titusfortner bc12b2c
[rb] enable strict BiDi serialization for protocol specs in the harneβ¦
titusfortner 1858dcb
[rb] enable strict BiDi serialization for all bidi specs via the testβ¦
titusfortner 367ed87
[rb] simplify the bidi strict-mode comment in the test environment
titusfortner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
23 changes: 23 additions & 0 deletions
23
rb/spec/integration/selenium/webdriver/bidi/protocol/BUILD.bazel
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| load("//rb/spec:tests.bzl", "rb_integration_test") | ||
|
|
||
| filegroup( | ||
| name = "all_srcs", | ||
| testonly = True, | ||
| srcs = glob(["*.rb"]), | ||
| visibility = ["//rb/spec:__pkg__"], | ||
| ) | ||
|
|
||
| [ | ||
| rb_integration_test( | ||
| name = file[:-8], | ||
| srcs = [file], | ||
| bidi = True, | ||
| classic = False, | ||
| data = ["//common/extensions"], | ||
| tags = ["exclusive-if-local"], | ||
| deps = [ | ||
| "//rb/lib/selenium/webdriver:bidi", | ||
| ], | ||
| ) | ||
| for file in glob(["*_spec.rb"]) | ||
| ] |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.