Skip to content

Add pushFile support to IOSDriver #721

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 8, 2017

Conversation

mykola-mokhnach
Copy link
Contributor

Change list

The PR adds support of pushFile endpoint to IOSDriver. For now it is only possible to upload media file to Simulator.

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

Addresses #720

Copy link
Contributor

@TikhomirovSergey TikhomirovSergey left a comment

Choose a reason for hiding this comment

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

@mykola-mokhnach
It looks ok. But I have a question. What the difference between the PushesFiles in the android package and the PushesFiles in the ios package? Maybe it has more sense to move interface to the java_client

@mykola-mokhnach
Copy link
Contributor Author

For iOS the documentation differs, wince the call works for Simulator only, but the body is the same. Frankly speaking, I don't see a need to extract these methods into a common lib - they anyway contain 1 to 3 lines of code. Even the documentation takes more space

@TikhomirovSergey
Copy link
Contributor

@mykola-mokhnach ok. So lets wait the result from CI.

@TikhomirovSergey TikhomirovSergey merged commit 0130270 into appium:master Sep 8, 2017
@mykola-mokhnach
Copy link
Contributor Author

@KazuCocoa FYI

@mykola-mokhnach mykola-mokhnach deleted the push_file_ios branch October 13, 2017 15:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants