Skip to content

Conversation

saikrishna321
Copy link
Member

Change list

Appium 1.6.6 beta has a new endpoint for getting the currently running package during an Android test.
See appium/appium-base-driver@190a896

Re: appium/appium#8674

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)

@saikrishna321
Copy link
Member Author

@TikhomirovSergey @SrinivasanTarget pls review

@TikhomirovSergey
Copy link
Contributor

@saikrishna321 Hi. Thank you. I will review it ASAP.

@@ -183,4 +183,8 @@

}

@Test public void getCurrentPackage() {
Copy link
Member

Choose a reason for hiding this comment

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

Can we rename this to getCurrentPackageTest() ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@appium appium deleted a comment Jun 17, 2017
@@ -180,4 +181,8 @@ public void openNotifications() {
public void toggleLocationServices() {
CommandExecutionHelper.execute(this, toggleLocationServicesCommand());
}

public String getCurrentPackage() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be better to move this method to the io.appium.java_client.android.StartsActivity interface and to make it default.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@appium appium deleted a comment Jun 18, 2017
@SrinivasanTarget SrinivasanTarget merged commit cf8eb85 into appium:master Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants