[grid]: platformName is empty should be considered as enum ANY instead of WINDOWS#15036
[grid]: platformName is empty should be considered as enum ANY instead of WINDOWS#15036
Conversation
…d of WINDOWS Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Thanks for your confirmation. I will merge this. |
…d of WINDOWS (SeleniumHQ#15036) Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
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 enumANYHowever, 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: windowsIt 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