Repository navigation
[java] tag os-sensitive browser tests per file and run them on Windows and macOS - #18163
Conversation
PR Summary by QodoRun OS-sensitive Java browser tests on Windows and macOS
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Code Review by Qodo
1.
|
|
Code review by qodo was updated up to the latest commit 3364267 |
…h driver afterwards
3364267 to
df01e45
Compare
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit df01e45 |
🔗 Related Issues
Part of #17539, similar to Ruby's #17558 & Python #18040
💥 What does this PR do?
🔧 Implementation Notes
--pin_browsers=false)java_selenium_test_suitegainsextra_tags, a per-file tag map like Python'spy_test_suite; tags were suite-wide before.selenium_testkeepsos-sensitiveon the stable local target only, so the-remoteand beta variants do not match the filter and the follow-up nightly beta jobs can exclude the tag without losing these tests.RemoteWebDriverBuilderTestis a unit test with a fake transport,FederatedCredentialManagementTestandNetworkInterceptorRestTesthave no OS-specific behavior, andRemoteWebDriverDownloadTesttests Grid file handling and took 2 minutes on macOS; RBE runs all four on Linux.ChromeDriverFunctionalTestandFirefoxDriverBuilderTestreturn with these-managerfollow-up.WindowTestresets the window to 600x500 before each test like Ruby, and the maximize, minimize and fullscreen tests get a fresh driver afterwards; leftover window state made sizes fail and fullscreen hang on macOS.@NotYetImplemented(SAFARI)from 9 tests that now pass, and guards the real failures, matching what Ruby skips for wheel scrolling.MoveTargetOutOfBoundsException; the message is vendor wording, and Safari returns the right error code with an empty message.🤖 AI assistance
💡 Additional Considerations
🔄 Types of changes