cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12618) Appium tests for Camera plugin should dismiss a native Android cling when accessing gallery app
Date Thu, 30 Mar 2017 16:10:41 GMT

    [ https://issues.apache.org/jira/browse/CB-12618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949315#comment-15949315
] 

ASF GitHub Bot commented on CB-12618:
-------------------------------------

Github user cordova-qa commented on the issue:

    https://github.com/apache/cordova-plugin-camera/pull/259
  
    Cordova CI Build has one or more failures. 
    
    **Commit**     - [Link](https://github.com/apache/cordova-plugin-camera/pull/259/commits/180f7b5510a7055e11ae7c13c7ea54c4d95f7ebb)
    **Dashboard** - [Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150/)
    
    | Builder Name  | Console Output | Test Report | Device Logs  |
    |     :---:     |     :---:      |   :---:     |     :---:    |
    | [Windows 10  Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=windows-10-store/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=windows-10-store/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=windows-10-store/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=windows-10-store/artifact/)
|
    | [iOS 9.3]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=ios-9.3/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=ios-9.3/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=ios-9.3/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=ios-9.3/artifact/)
|
    | [iOS 10.0]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=ios-10.0/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=ios-10.0/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=ios-10.0/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=ios-10.0/artifact/)
|
    | [Android]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=android/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=android/console)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=android/testReport/)
| [Link]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/150//PLATFORM=android/artifact/)
|
     



> Appium tests for Camera plugin should dismiss a native Android cling when accessing gallery
app
> -----------------------------------------------------------------------------------------------
>
>                 Key: CB-12618
>                 URL: https://issues.apache.org/jira/browse/CB-12618
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: Appium, Plugin Camera
>    Affects Versions: Master
>         Environment: Sauce Labs
>            Reporter: Alexander Sorokin
>            Assignee: Alexander Sorokin
>              Labels: found-by-ci, triaged
>
> Sauce Labs have updated their Android emulators, so they now have pre-existing images
in the gallery as well as a native cling in the "Apps" section of the Launcher.
> This cling interferes with the Camera Appium tests, when they are trying to delete an
image from the gallery. (Post-run cleanup).
> http://cordova-ci.cloudapp.net:8080/view/Periodic%20builds/job/cordova-periodic-build/375/PLATFORM=android-4.4,PLUGIN=cordova-plugin-camera/console
> {noformat}
>  > CALL deviceKeyEvent(4) 
>  > POST /session/:sessionID/appium/device/keyevent {"keycode":4}
>  > RESPONSE deviceKeyEvent(4) 
>  > CALL elementById("Apps") 
>  > POST /session/:sessionID/element {"using":"id","value":"Apps"}
>  > RESPONSE elementById("Apps") {"ELEMENT":"108"}
>  > CALL element.click() 
>  > POST /session/:sessionID/element/108/click 
>  > RESPONSE element.click() 
>  > CALL elementByAndroidUIAutomator("new UiSelector().text(\"Gallery\")") 
>  > POST /session/:sessionID/element {"using":"-android uiautomator","value":"new UiSelector().text(\"Gallery\")"}
>  > RESPONSE elementByAndroidUIAutomator("new UiSelector().text(\"Gallery\")") {"ELEMENT":"109"}
>  > CALL element.click() 
>  > POST /session/:sessionID/element/109/click 
>  > RESPONSE element.click() 
>  > CALL elementByAndroidUIAutomator("new UiSelector().textContains(\"Pictures\")")

>  > POST /session/:sessionID/element {"using":"-android uiautomator","value":"new UiSelector().textContains(\"Pictures\")"}
>       ✗ camera.ui.util Delete taken picture from device library
>         - Failed: [elementByAndroidUIAutomator("new UiSelector().textContains(\"Pictures\")")]
Error response status: 7, , NoSuchElement - An element could not be located on the page using
the given search parameters. Selenium error: An element could not be located on the page using
the given search parameters.
>  > CALL quit() 
>  > DELETE /session/:sessionID 
> {noformat}
> This cling should be handled by the tests properly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message