Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A6BC3200C56 for ; Thu, 30 Mar 2017 22:45:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A43C6160B98; Thu, 30 Mar 2017 20:45:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CB719160B7E for ; Thu, 30 Mar 2017 22:45:46 +0200 (CEST) Received: (qmail 99649 invoked by uid 500); 30 Mar 2017 20:45:46 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 99636 invoked by uid 99); 30 Mar 2017 20:45:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2017 20:45:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 92D0DC7E0F for ; Thu, 30 Mar 2017 20:45:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xKDHrvYHVG1M for ; Thu, 30 Mar 2017 20:45:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D0D805FC72 for ; Thu, 30 Mar 2017 20:45:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 640A4E0D34 for ; Thu, 30 Mar 2017 20:45:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6D63B21DF1 for ; Thu, 30 Mar 2017 20:45:42 +0000 (UTC) Date: Thu, 30 Mar 2017 20:45:42 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12618) Appium tests for Camera plugin should dismiss a native Android cling when accessing gallery app MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Mar 2017 20:45:47 -0000 [ https://issues.apache.org/jira/browse/CB-12618?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D159497= 80#comment-15949780 ]=20 ASF GitHub Bot commented on CB-12618: ------------------------------------- Github user cordova-qa commented on the issue: https://github.com/apache/cordova-plugin-camera/pull/259 =20 Cordova CI Build has one or more failures.=20 =20 **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/151/) =20 | Builder Name | Console Output | Test Report | Device Logs | | :---: | :---: | :---: | :---: | | [Windows 10 Store]( http://cordova-ci.cloudapp.net:8080/job/cordova-= plugin-camera-pr/151//PLATFORM=3Dwindows-10-store/) | [Link]( http://cordov= a-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/151//PLATFORM=3Dwindows= -10-store/console) | [Link]( http://cordova-ci.cloudapp.net:8080/job/cordov= a-plugin-camera-pr/151//PLATFORM=3Dwindows-10-store/testReport/) | [Link]( = http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/151//PLATF= ORM=3Dwindows-10-store/artifact/) | | [iOS 9.3]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-cam= era-pr/151//PLATFORM=3Dios-9.3/) | [Link]( http://cordova-ci.cloudapp.net:8= 080/job/cordova-plugin-camera-pr/151//PLATFORM=3Dios-9.3/console) | [Link](= http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/151//PLAT= FORM=3Dios-9.3/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/j= ob/cordova-plugin-camera-pr/151//PLATFORM=3Dios-9.3/artifact/) | | [iOS 10.0]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-ca= mera-pr/151//PLATFORM=3Dios-10.0/) | [Link]( http://cordova-ci.cloudapp.net= :8080/job/cordova-plugin-camera-pr/151//PLATFORM=3Dios-10.0/console) | [Lin= k]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/151//P= LATFORM=3Dios-10.0/testReport/) | [Link]( http://cordova-ci.cloudapp.net:80= 80/job/cordova-plugin-camera-pr/151//PLATFORM=3Dios-10.0/artifact/) | | [Android]( http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-cam= era-pr/151//PLATFORM=3Dandroid/) | [Link]( http://cordova-ci.cloudapp.net:8= 080/job/cordova-plugin-camera-pr/151//PLATFORM=3Dandroid/console) | [Link](= http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/151//PLAT= FORM=3Dandroid/testReport/) | [Link]( http://cordova-ci.cloudapp.net:8080/j= ob/cordova-plugin-camera-pr/151//PLATFORM=3Dandroid/artifact/) | =20 > 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-exi= sting 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-pe= riodic-build/375/PLATFORM=3Dandroid-4.4,PLUGIN=3Dcordova-plugin-camera/cons= ole > {noformat} > > CALL deviceKeyEvent(4)=20 > > POST /session/:sessionID/appium/device/keyevent {"keycode":4} > > RESPONSE deviceKeyEvent(4)=20 > > CALL elementById("Apps")=20 > > POST /session/:sessionID/element {"using":"id","value":"Apps"} > > RESPONSE elementById("Apps") {"ELEMENT":"108"} > > CALL element.click()=20 > > POST /session/:sessionID/element/108/click=20 > > RESPONSE element.click()=20 > > CALL elementByAndroidUIAutomator("new UiSelector().text(\"Gallery\")")= =20 > > POST /session/:sessionID/element {"using":"-android uiautomator","valu= e":"new UiSelector().text(\"Gallery\")"} > > RESPONSE elementByAndroidUIAutomator("new UiSelector().text(\"Gallery\= ")") {"ELEMENT":"109"} > > CALL element.click()=20 > > POST /session/:sessionID/element/109/click=20 > > RESPONSE element.click()=20 > > CALL elementByAndroidUIAutomator("new UiSelector().textContains(\"Pict= ures\")")=20 > > POST /session/:sessionID/element {"using":"-android uiautomator","valu= e":"new UiSelector().textContains(\"Pictures\")"} > =E2=9C=97 camera.ui.util Delete taken picture from device library > - Failed: [elementByAndroidUIAutomator("new UiSelector().textCont= ains(\"Pictures\")")] Error response status: 7, , NoSuchElement - An elemen= t could not be located on the page using the given search parameters. Selen= ium error: An element could not be located on the page using the given sear= ch parameters. > > CALL quit()=20 > > DELETE /session/:sessionID=20 > {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