Skip to content

Conversation

@scojac01
Copy link
Contributor

@scojac01 scojac01 commented Jun 6, 2019

…that do not seem to dismiss the next button like other devices.

@setrofim
Copy link
Contributor

setrofim commented Jun 6, 2019

Please fix the commit message.

Copy link
Contributor

@marcbonnici marcbonnici left a comment

Choose a reason for hiding this comment

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

Could you also add a description in the commit message of what popup this is dismissing on Samsung devices?


UiObject next = mDevice.findObject(selector.textContains("NEXT")
.className("android.widget.Button"));
next.waitForExists(60000);
Copy link
Contributor

Choose a reason for hiding this comment

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

60 seconds seems to be a very long timeout for something that is only present on some devices. Is there an extra 0 here?


UiObject cancel = mDevice.findObject(selector.textContains("CANCEL")
.className("android.widget.Button"));
cancel.waitForExists(60000);
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this also be changed?

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.

3 participants