You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/08/13 00:00:12 UTC

[jira] [Updated] (CB-7287) Failing tests for UIWebView (wkwebview branch)

     [ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-7287:
---------------------------------

    Description: 
This is only for the wkwebview branch, and using these plugins, and 3.5.0 mobile-spec:
{code}
    "org.apache.cordova.battery-status": "0.2.10",
    "org.apache.cordova.camera": "0.3.1",
    "org.apache.cordova.console": "0.2.10",
    "org.apache.cordova.contacts": "0.2.12",
    "org.apache.cordova.device": "0.2.11",
    "org.apache.cordova.device-motion": "0.2.9",
    "org.apache.cordova.device-orientation": "0.3.8",
    "org.apache.cordova.dialogs": "0.2.9",
    "org.apache.cordova.file": "1.3.0",
    "org.apache.cordova.file-transfer": "0.4.5",
    "org.apache.cordova.geolocation": "0.3.9",
    "org.apache.cordova.globalization": "0.3.0",
    "org.apache.cordova.inappbrowser": "0.5.1",
    "org.apache.cordova.media": "0.2.12",
    "org.apache.cordova.media-capture": "0.3.2",
    "org.apache.cordova.network-information": "0.2.11",
    "org.apache.cordova.splashscreen": "0.3.2",
    "org.apache.cordova.vibration": "0.3.10"
{code}

The 3 failing tests:
{code}
FileTransfer upload method filetransfer.spec.18 should be able to upload a file.
Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} ' to match /fields:\s*{\s*value1.*/.

FileTransfer upload method filetransfer.spec.19 should be able to upload a file with http basic auth.
Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} ' to match /fields:\s*{\s*value1.*/.

FileTransfer Backwards compatibility filetransfer.spec.29 should be able to upload a file using local paths.
Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} ' to match /fields:\s*{\s*value1.*/.

{code}

  was:
This is only for the wkwebview branch, and using these plugins, and 3.5.0 mobile-spec:
{code}
    "org.apache.cordova.battery-status": "0.2.8",
    "org.apache.cordova.camera": "0.3.0",
    "org.apache.cordova.console": "0.2.9",
    "org.apache.cordova.contacts": "0.2.11",
    "org.apache.cordova.device": "0.2.10",
    "org.apache.cordova.device-motion": "0.2.8",
    "org.apache.cordova.device-orientation": "0.3.7",
    "org.apache.cordova.dialogs": "0.2.8",
    "org.apache.cordova.file": "1.2.0",
    "org.apache.cordova.file-transfer": "0.4.4",
    "org.apache.cordova.geolocation": "0.3.8",
    "org.apache.cordova.globalization": "0.2.8",
    "org.apache.cordova.inappbrowser": "0.5.0",
    "org.apache.cordova.media": "0.2.11",
    "org.apache.cordova.media-capture": "0.3.1",
    "org.apache.cordova.network-information": "0.2.10",
    "org.apache.cordova.splashscreen": "0.3.1",
    "org.apache.cordova.vibration": "0.3.9"
{code}

The 5 failing tests:
{code}
Contacts (navigator.contacts) find method contacts.spec.3 success callback should be called with an array.
timeout: timed out after 7500 msec waiting for win never called

FileTransfer upload method filetransfer.spec.18 should be able to upload a file.
Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/5d1f0dca6f06eaaa0fc29bed9577d439","name":"upload.txt","type":"text/plain","mtime":"2014-08-11T17:44:08.365Z"}}} ' to match /fields:\s*{\s*value1.*/.

FileTransfer upload method filetransfer.spec.19 should be able to upload a file with http basic auth.
Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/04f835dc0ddfb7e9e2728f9d877a387c","name":"upload.txt","type":"text/plain","mtime":"2014-08-11T17:44:08.634Z"}}} ' to match /fields:\s*{\s*value1.*/.

FileTransfer Backwards compatibility filetransfer.spec.29 should be able to upload a file using local paths.
Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/b184d3c34e1f533728c9fe4b74bc4c06","name":"upload.txt","type":"text/plain","mtime":"2014-08-11T17:44:10.355Z"}}} ' to match /fields:\s*{\s*value1.*/.

Geolocation (navigator.geolocation) getCurrentPosition method success callback geolocation.spec.6 should be called with a Position object.
timeout: timed out after 20000 msec waiting for win/fail never called
{code}


> Failing tests for UIWebView (wkwebview branch)
> ----------------------------------------------
>
>                 Key: CB-7287
>                 URL: https://issues.apache.org/jira/browse/CB-7287
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>         Environment: iOS 8
>            Reporter: Shazron Abdullah
>
> This is only for the wkwebview branch, and using these plugins, and 3.5.0 mobile-spec:
> {code}
>     "org.apache.cordova.battery-status": "0.2.10",
>     "org.apache.cordova.camera": "0.3.1",
>     "org.apache.cordova.console": "0.2.10",
>     "org.apache.cordova.contacts": "0.2.12",
>     "org.apache.cordova.device": "0.2.11",
>     "org.apache.cordova.device-motion": "0.2.9",
>     "org.apache.cordova.device-orientation": "0.3.8",
>     "org.apache.cordova.dialogs": "0.2.9",
>     "org.apache.cordova.file": "1.3.0",
>     "org.apache.cordova.file-transfer": "0.4.5",
>     "org.apache.cordova.geolocation": "0.3.9",
>     "org.apache.cordova.globalization": "0.3.0",
>     "org.apache.cordova.inappbrowser": "0.5.1",
>     "org.apache.cordova.media": "0.2.12",
>     "org.apache.cordova.media-capture": "0.3.2",
>     "org.apache.cordova.network-information": "0.2.11",
>     "org.apache.cordova.splashscreen": "0.3.2",
>     "org.apache.cordova.vibration": "0.3.10"
> {code}
> The 3 failing tests:
> {code}
> FileTransfer upload method filetransfer.spec.18 should be able to upload a file.
> Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}} ' to match /fields:\s*{\s*value1.*/.
> FileTransfer upload method filetransfer.spec.19 should be able to upload a file with http basic auth.
> Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}} ' to match /fields:\s*{\s*value1.*/.
> FileTransfer Backwards compatibility filetransfer.spec.29 should be able to upload a file using local paths.
> Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}} ' to match /fields:\s*{\s*value1.*/.
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)