cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsoro...@apache.org
Subject cordova-plugin-contacts git commit: CB-12357: Tests give user some time to accept the permission alert
Date Tue, 17 Jan 2017 16:25:08 GMT
Repository: cordova-plugin-contacts
Updated Branches:
  refs/heads/master 88192bf17 -> af052a4dd


CB-12357: Tests give user some time to accept the permission alert


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/af052a4d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/af052a4d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/af052a4d

Branch: refs/heads/master
Commit: af052a4dda5b0046f02a0374bb2c2c5791e00caa
Parents: 88192bf
Author: Alexander Sorokin <alexander.sorokin@akvelon.com>
Authored: Tue Jan 17 16:50:57 2017 +0300
Committer: Alexander Sorokin <alexander.sorokin@akvelon.com>
Committed: Tue Jan 17 19:23:09 2017 +0300

----------------------------------------------------------------------
 tests/tests.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/af052a4d/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 3a7f91c..ba4a959 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -150,7 +150,7 @@ exports.defineAutoTests = function() {
                     }
                 }
                 navigator.contacts.find(["displayName", "name", "phoneNumbers", "emails"],
win, failed, obj);
-            });
+            }, HIGH_TIMEOUT); // give permission buster or a user a chance to accept the
permission alert
 
             it("contacts.spec.4 success callback should be called with an array, even if
partial ContactFindOptions specified", function(done) {
                 // Find method is not supported on Windows platform


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message