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

Contact Plugin tests fail on cordova-andorid-win

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Recent build links:

      https://ci.apache.org/builders/cordova-android-win/builds/1626
      https://ci.apache.org/builders/cordova-android-win/builds/1625

      Build log:
      Failing tests:
      cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) Round trip Contact tests (creating + save + delete + find) contacts.spec.25 Creating, saving, finding a contact should work
      Expected 2 to be 1.
      Error: Expected 2 to be 1.
      at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
      at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
      at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
      at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
      at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
      at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
      at findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:519:47)
      at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:57:17)
      at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
      at processMessage (file:///android_asset/www/cordova.js:1081:17)
      at processMessages (file:///android_asset/www/cordova.js:1104:9)
      cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) Round trip Contact tests (creating + save + delete + find) contacts.spec.26 Creating, saving, finding a contact should work, removing it should work
      Expected 2 to be 1.
      Error: Expected 2 to be 1.
      at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
      at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
      at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
      at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
      at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
      at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
      at findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:519:47)
      at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:57:17)
      at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
      at processMessage (file:///android_asset/www/cordova.js:1081:17)
      cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) Round trip Contact tests (creating + save + delete + find) contacts.spec.27 Should not be able to delete the same contact twice
      Expected 2 to be 1.
      Error: Expected 2 to be 1.
      at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
      at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
      at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
      at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
      at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
      at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
      at findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:519:47)
      at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:57:17)
      at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
      at processMessage (file:///android_asset/www/cordova.js:1081:17)
      Expected 1 to be 0.
      Error: Expected 1 to be 0.
      at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
      at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
      at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
      at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
      at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
      at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
      at findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:577:49)
      at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:57:17)
      at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
      at processMessage (file:///android_asset/www/cordova.js:1081:17)

      Attachments

        Issue Links

          Activity

            People

              omefire Omar Mefire
              rakatyal Raghav Katyal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: