-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[py] improve how tests are run against the grid server #16851
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:
|
||||||||||||||||||||||
cgoldberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM besides the tiny change I suggested. Thanks.
py/test/selenium/webdriver/remote/remote_custom_locator_tests.py
Outdated
Show resolved
Hide resolved
py/test/selenium/webdriver/remote/remote_firefox_profile_tests.py
Outdated
Show resolved
Hide resolved
09a55c2 to
de35dbc
Compare
User description
🔗 Related Issues
Splitting this out from #16814 so we can manage it independently
💥 What does this PR do?
chrome-remoteandfirefox-remotetargets with tags that can be filtered onwhich java)🔧 Implementation Notes
💡 Additional Considerations
remote_connection_tests.pyare failing now because they were pointing to the wrong server, and I'm not sure they are testing what we think they are testing. Needs to be fixed, but outside the scope of this PR🔄 Types of changes
PR Type
Enhancement
Description
Refactored remote testing to use
--remoteflag instead of driver selectionAdded support for browser-specific remote test targets (chrome-remote, firefox-remote)
Integrated Bazel-built Java and Grid server with fallback to system/Selenium Manager
Enhanced Server class with configurable java_path and startup_timeout parameters
Marked Firefox-specific tests as xfail_remote to skip when running remotely
Diagram Walkthrough
File Walkthrough
2 files
Refactored remote testing to use --remote flagAdded java_path and startup_timeout configuration2 files
Added data attribute to py_test ruleCreated browser-specific remote test targets with Bazel integration6 files
Marked test as xfail_remoteMarked module as xfail_remote for Firefox-specific APIsMarked module as xfail_remote for Firefox-specific APIsUpdated tests to use Grid server and marked as xfailUpdated fixture to use Grid server command_executorUpdated test to use Grid server command_executor2 files