-
-
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
[grid]: platformName is empty should be considered as enum ANY instead of WINDOWS #15036
Conversation
…d of WINDOWS Signed-off-by: Viet Nguyen Duc <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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.
This makes sense.
Thanks for your confirmation. I will merge this. |
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.
Thank you @VietND96!
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
When adding a test to verify when
"platformName": ""
it should map to enumANY
However, it failed with expected that is WINDOWS.
In a end2end scenario, it also behaves the same. For example TOML given
When Node started up, the Node stereotypes could be seen
platformName: windows
It does not make sense when checking from Grid UI, the OS logo for session requests and ongoing.
In case, Node stereotypes setting
"platformName": ""
. It should be loaded"platformName":"any"
and reflect to Grid UI the unknown os icon, e.gThis also helps autoscaling have a consistent pattern to correctly count pending and ongoing sessions for populating the right external metrics.
Motivation and Context
Types of changes
Checklist