Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11479

File-transfer 304 tests are failing on iOS

    XMLWordPrintableJSON

Details

    Description

      Note: the issue does not reproduce locally and in SauceLabs.

       cordova-plugin-file-transfer-tests.tests >>.FileTransfer.methods.download.filetransfer.spec.33 should properly handle 304

       Error Details
      Expected spy httpWin not to have been called.

       Stack Trace
      stack@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:26
      buildExpectationResult@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:19
      expectationResultFactory@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:572:40
      addExpectationResult@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:321:58
      addExpectationResult@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:516:41
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:32
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/plugins/cordova-plugin-file-transfer-tests/tests.js:261:79
      attemptSync@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1741:28
      run@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1729:20
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1753:19
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1697:11
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/plugins/cordova-plugin-file-transfer-tests/tests.js:125:33
      callbackFromNative@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cordova.js:293:63
      nc2@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cordova.js:1022:39

      0 ms
      2

       cordova-plugin-file-transfer-tests.tests >>.FileTransfer.methods.download.filetransfer.spec.35 304 should not result in the deletion of a cached file

       Error Details
      Expected spy httpWin not to have been called.

       Stack Trace
      stack@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:26
      buildExpectationResult@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:19
      expectationResultFactory@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:572:40
      addExpectationResult@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:321:58
      addExpectationResult@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:516:41
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:32
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/plugins/cordova-plugin-file-transfer-tests/tests.js:261:79
      attemptSync@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1741:28
      run@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1729:20
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1753:19
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1697:11
      file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/plugins/cordova-plugin-file-transfer-tests/tests.js:125:33
      callbackFromNative@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cordova.js:293:63
      nc2@file:///Users/chef/Library/Developer/CoreSimulator/Devices/80B875BC-B5BD-4F3F-99EF-9427F2CDFEE3/data/Containers/Bundle/Application/1B582DD0-54FA-46D9-860F-85CCAF90422B/HelloCordova.app/www/cordova.js:1022:39

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              daserge Sergey Shakhnazarov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: