commit | 9cb5d68d8db6f0e132112e9cd63f799c17a0bb7f | [log] [tgz] |
---|---|---|
author | James Jong <wjamesjong@gmail.com> | Fri Jun 21 13:44:20 2013 -0400 |
committer | James Jong <wjamesjong@gmail.com> | Fri Jun 21 14:04:32 2013 -0400 |
tree | da1624174e56202b7b775f7777dc5eb8438b1c07 | |
parent | b6a73892a21bc46b53a8f900e12c7a5cca71b30b [diff] |
[CB-3942] add Contacts autotests cleanup -cleanup contacts so future test runs on same device start clean (cherry picked from commit 0cedea96df3ee5a94b702d2525720623e343d153)
These specs are designed to run inside the mobile device that implements it - it will fail in the DESKTOP browser.
These set of tests is designed to be used with Cordova. You should initialize a fresh Cordova repository for a target platform and then toss these files into the www folder, replacing the contents.
Make sure you include cordova.js in the www folder (see the code in cordova-incl.js for clarification).
This is done so that you don't have to modify every HTML file when you want to test a new version of Cordova.
The goal is to test mobile device functionality inside a mobile browser. Where possible, the Cordova API lines up with HTML 5 spec. Maybe down the road we could use this spec for parts of HTML 5, too :)
Various parts of this test suite communicate with external servers. Therefore, when you wrap up the test suite inside a Cordova application, make sure you add the following entries to the whitelist!