-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
iOS platform does not exist #4557
Comments
1 task
lukeis
pushed a commit
that referenced
this issue
Aug 23, 2017
In some cases we cannot consider platform and platformName to be equivalent. For example, SauceLabs uses platformName and not platform to run Appium tests. If we override platformName (iOS) with platform (Mac, because no iOS platform exists), we generate a set of invalid capabilities to actually run the browser test. Fixes #4557
This was referenced Aug 23, 2017
Tom-Trumper
pushed a commit
to Tom-Trumper/selenium
that referenced
this issue
Sep 11, 2017
In some cases we cannot consider platform and platformName to be equivalent. For example, SauceLabs uses platformName and not platform to run Appium tests. If we override platformName (iOS) with platform (Mac, because no iOS platform exists), we generate a set of invalid capabilities to actually run the browser test. Fixes SeleniumHQ#4557
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Meta -
OS: OSX
Selenium Version: 3.5.2 (head of repo)
Browser: iOS Safari
Browser Version: iOS 10.3
Expected Behavior - Using Selenium Grid the platformName would remain unchanged (keep behavior from 3.4)
Actual Behavior - With Selenium Grid the platformName is overridden by platform in ImmutableCapabilities because iOS is not defined in Platform.java
Steps to reproduce -
(already found a temporary fix with help from Simon and Jim)
Run an iOS test against SauceLabs with 3.4 and 3.5. As part of NewSessionPayload (in 3.5) when creating the capabilities iOS is an unrecognized platform so platformName (originally iOS) is set to platform (Mac), providing a bad set of capabilities for the test to actually run.
The text was updated successfully, but these errors were encountered: