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

Avoid enforcing the platform name while creating drivers #1164

Merged
merged 4 commits into from
Jun 25, 2019

Conversation

mykola-mokhnach
Copy link
Contributor

Change list

Addresses #1162

Types of changes

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details

I hope the change won't affect much clients, but the current logic there is anyway incorrect and must be fixed.

@mykola-mokhnach mykola-mokhnach changed the title Avoid enforcing the platform name while creating drivers [WIP] Avoid enforcing the platform name while creating drivers Jun 24, 2019
Copy link
Member

@KazuCocoa KazuCocoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

*/
protected static Capabilities setDefaultPlatformName(Capabilities originalCapabilities,
String newPlatform) {
if (originalCapabilities.getCapability(PLATFORM_NAME) == null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mykola-mokhnach mykola-mokhnach changed the title [WIP] Avoid enforcing the platform name while creating drivers Avoid enforcing the platform name while creating drivers Jun 25, 2019
@mykola-mokhnach mykola-mokhnach merged commit ef71924 into appium:master Jun 25, 2019
@mykola-mokhnach mykola-mokhnach deleted the platform branch June 27, 2019 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants