cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [2/5] git commit: added documentation for manual tests
Date Tue, 19 Aug 2014 00:53:40 GMT
added documentation for manual tests


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/a67a8a9d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/a67a8a9d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/a67a8a9d

Branch: refs/heads/master
Commit: a67a8a9dd095267dea0226727389a33dc20fc060
Parents: 52b8213
Author: Edna Morales <ednamorales@ednas-mbp-2.raleigh.ibm.com>
Authored: Tue Jul 29 12:58:46 2014 -0400
Committer: Edna Morales <ednamorales@ednas-mbp-2.raleigh.ibm.com>
Committed: Tue Jul 29 12:58:46 2014 -0400

----------------------------------------------------------------------
 test/tests.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/a67a8a9d/test/tests.js
----------------------------------------------------------------------
diff --git a/test/tests.js b/test/tests.js
index 2bdae2a..259d754 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -463,13 +463,16 @@ exports.defineManualTests = function (contentEl, createActionButton)
{
         '<b>Results:</b><br>' +
         '<div id="contact_results"></div>' +
         '</div>' +
-        '<div id="actions"></div>';
+        '<div id="get_contacts"></div>' +
+        'Expected result: Status box will show number of contacts and list them' +
+        '</p> <div id="add_contact"></div>' +
+        'Expected result: Will add a new contact. Log will say "Contact saved." Verify by
running Get phone contacts again';
 
     createActionButton("Get phone's contacts", function () {
         getContacts();
-    }, 'actions');
+    }, 'get_contacts');
 
     createActionButton("Add a new contact 'Dooney Evans'", function () {
         addContact();
-    }, 'actions');
+    }, 'add_contact');
 };


Mime
View raw message