Skip to content
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

Closed
matthewdoerksen opened this issue Aug 23, 2017 · 0 comments
Closed

iOS platform does not exist #4557

matthewdoerksen opened this issue Aug 23, 2017 · 0 comments

Comments

@matthewdoerksen
Copy link
Contributor

matthewdoerksen commented Aug 23, 2017

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.

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
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
@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant