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

Update javadoc of capabilities to follow latest Appium documents #1204

Merged
merged 6 commits into from
Aug 17, 2019
Merged

Update javadoc of capabilities to follow latest Appium documents #1204

merged 6 commits into from
Aug 17, 2019

Conversation

takeyaqa
Copy link
Contributor

Change list

Update javadoc of capabilities to follow latest Appium documents.
https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md
and
https://github.com/appium/appium-xcuitest-driver/blob/master/README.md#desired-capabilities

Types of changes

What types of changes are you proposing/introducing to Java client?
Put an x in the boxes that apply

  • 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

Please provide more details about changes if it is necessary. If there are new features you can provide code samples which show the way they
work and possible use cases. Also you can create gists with pasted java code samples or put them here using markdown.
About markdown please read Mastering markdown and Writing on GitHub

@@ -69,6 +74,7 @@
* Dismiss all iOS alerts automatically if they pop up.
* This includes privacy access permission alerts (e.g.,
* location, contacts, photos). Default is false.
* Does not work on XCUITest-based tests.
Copy link
Contributor

Choose a reason for hiding this comment

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

it does starting from Appium 1.13.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. delete this line.

@@ -175,8 +181,10 @@
String TAP_WITH_SHORT_PRESS_DURATION = "tapWithShortPressDuration";

/**
* The capability to direct Appium to set the simulator scale.
* The XCUITest specific capability.
* Simulator scale factor.
Copy link
Contributor

Choose a reason for hiding this comment

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

This only works below Xcode9

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added comment below this line.

@mykola-mokhnach
Copy link
Contributor

Thanks @takeya0x86 . Please address linter issues from https://travis-ci.org/appium/java-client/builds/570742270?utm_source=github_status&utm_medium=notification

@takeyaqa
Copy link
Contributor Author

@mykola-mokhnach Thank you for reviewing. I fixed these. And I also updated appium capability documents.

*/
String APP_WAIT_ACTIVITY = "appWaitActivity";

/**
* Java package of the Android app you want to wait for.
* By default the value of this capability is the same as for {@code appActivity}
Copy link
Contributor

Choose a reason for hiding this comment

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

We can also mention, that this cap can include wildcards (*)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@SrinivasanTarget SrinivasanTarget merged commit 8e04783 into appium:master Aug 17, 2019
@takeyaqa takeyaqa deleted the caps_update_01 branch August 18, 2019 06:16
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.

4 participants