Prerequisites:
- Create boot document for the test user
{ "_id": "boot-document-test-app", "_rev": "19-bf6e4e862cedb8bd259a4f18f8264257", "authType": "", "bundleName": "", "channels": [ "entity_Jacob_Grimberg_ge_com" ], "created_at": 1446851799498, "offlinePkgName": "", "pkgName": "data-app-px-end2end-test-app-2", "startTS": 1466851799498, "type": "boot", "updated_at": 1446851799498 }
Put "data-app-px-end2end-test-app-2" for "pgName":
-
Check out project from git repo
-
cd to 'px-end2end-test-web-app'
-
Run 'pg doctor' to make sure connection is OK
-
Run 'gulp dist' to build dist folder
-
Run 'pg publish' to build .zip file and push it to couchDb
-
Start app on a mobile device
-
Click "Run Test" button to start executing tests
If you want to modify the app (add more tests)
-
Add new test to index.jade
script(type='text/javascript', src='scripts/myNewTest.js') -
gulp clean
-
gulp dist
-
pg publish