cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsorokin <>
Subject [GitHub] cordova-plugin-camera pull request #244: Android Appium test tweaks
Date Fri, 23 Dec 2016 08:10:18 GMT
Github user alsorokin commented on a diff in the pull request:
    --- Diff: appium-tests/android/android.spec.js ---
    @@ -373,7 +384,6 @@ describe('Camera tests Android.', function () {
                             return driver
    -                            .elementByXPath('//android.widget.TextView[@text="Gallery"]')
    --- End diff --
    Please do not delete duplicate element selections.
    They are needed to work around the following bug: on Android emulator under Windows, element
selection doesn't work the first time on some elements. And sometimes even a second or third
time - wrong elements are being clicked.
    The only way to work around this issue I've found is to select the element multiple times
like this.
    Maybe selecting element by accessibility id could resolve this issue. I'll make a note
to myself to look into it a bit later, but for now please leave it as is.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message