You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/09/02 23:09:22 UTC

[jira] [Commented] (CB-7423) mobilespec test failures on iOS

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

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

GitHub user eymorale opened a pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/42

    CB-7423 fix spec28,29 lastProgressEvent not visible to afterEach functio...

    ...n

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/eymorale/cordova-plugin-file-transfer CB-7423

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file-transfer/pull/42.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #42
    
----
commit 38d35c291f74006f486f7c9fda67579b6a44ae6e
Author: Edna Morales <ey...@us.ibm.com>
Date:   2014-09-02T21:07:35Z

    CB-7423 fix spec28,29 lastProgressEvent not visible to afterEach function

----


> mobilespec test failures on iOS
> -------------------------------
>
>                 Key: CB-7423
>                 URL: https://issues.apache.org/jira/browse/CB-7423
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Plugin File Transfer
>    Affects Versions: 3.5.0
>         Environment: iOS
>            Reporter: Edna Morales
>             Fix For: 3.6.0
>
>
> Running the automated tests for each plugin individually (there are false failures when run all together in mobilespec) results in the following:
> File-transfer - 3 failures:
> -spec 8 should be able to download a file using https: error timeout - async callback was not invoked...
> -spec 28 should be able to download a file using local paths: reference error can't find variable lastProgressEvent in file:///...
> -spec 29 should be able to upload a file using local paths: reference error can't find variable lastProgressEvent in file:///...
> File - 2 failures (only after running a second time)
> -spec 57 copyTo file: Error copying file {"code":12}
> -spec 60 copyTo directory to backup at same root directory: Error copying directory {"code":12}
> It looks like the files aren't getting deleted after the first run, which is causing these errors the second time
> Plugin manual tests:
> Camera:
> -Not seeing a difference with different quality values
> -Call to write/copy/upload fails if one is called after the other (i.e. Call to copy succeeds but call to upload fails if done right after the call to copy)
> Native Auto Tests:
> Whitelist - 1 failure:
> -Match function should accept file:///foo.html for []: Expected spy unknown to have been called with [true] but was called with [[false]]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)