Github user alsorokin commented on a diff in the pull request:

    
https://github.com/apache/cordova-plugin-camera/pull/244#discussion_r93737605
  
    --- Diff: appium-tests/android/android.spec.js ---
    @@ -373,7 +384,6 @@ describe('Camera tests Android.', function () {
                             return driver
                                 
.waitForElementByXPath('//android.widget.TextView[@text="Gallery"]', 20000)
                                 
.elementByXPath('//android.widget.TextView[@text="Gallery"]')
    -                            
.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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to