[
https://issues.apache.org/jira/browse/CB-12501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880733#comment-15880733
]
ASF GitHub Bot commented on CB-12501:
-------------------------------------
Github user cordova-qa commented on the issue:
https://github.com/apache/cordova-plugin-camera/pull/255
Cordova CI Build has completed successfully.
**Commit** -
[Link](https://github.com/apache/cordova-plugin-camera/pull/255/commits/7430818332cd57bbac7e61ffbce2150ba2bb9c86)
**Dashboard** -
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138/)
| Builder Name | Console Output | Test Report | Device Logs |
| :---: | :---: | :---: | :---: |
| [Windows 10 Store](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=windows-10-store/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=windows-10-store/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=windows-10-store/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=windows-10-store/artifact/)
|
| [iOS 9.3](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=ios-9.3/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=ios-9.3/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=ios-9.3/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=ios-9.3/artifact/)
|
| [iOS 10.0](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=ios-10.0/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=ios-10.0/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=ios-10.0/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=ios-10.0/artifact/)
|
| [Android](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=android/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=android/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=android/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/138//PLATFORM=android/artifact/)
|
> Don't use XPath selectors in Camera Appium tests for Android
> ------------------------------------------------------------
>
> Key: CB-12501
> URL: https://issues.apache.org/jira/browse/CB-12501
> Project: Apache Cordova
> Issue Type: Test
> Components: Appium, Plugin Camera
> Reporter: Alexander Sorokin
> Assignee: Alexander Sorokin
> Labels: triaged
>
> Currently Appium tests use XPath selectors, which are sloppy and buggy. For
> example, we are forced to select certain elements quite a few times in a row
> to get the one that we need:
> {noformat}
> return driver
> .waitForElementByXPath('//android.widget.TextView[@text="Gallery"]',
> 20000)
> .elementByXPath('//android.widget.TextView[@text="Gallery"]') // multiple
> calls here for an Android bug:
> .elementByXPath('//android.widget.TextView[@text="Gallery"]') // on
> Windows + Android emulator, element selection
> .elementByXPath('//android.widget.TextView[@text="Gallery"]') // is
> completely wonky. Unfortunately duplicating element()
> .elementByXPath('//android.widget.TextView[@text="Gallery"]') // calls is
> the only workaround identified thus far.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
