Skip to content

Commit 268774d

Browse files
author
pwespi
committed
fix(e2e): split e2e npm script into two
1 parent dc914c5 commit 268774d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ See the example test in `src/app/app.component.spec.ts` for an example of a comp
5252
End-To-End Tests (Browser-Only)
5353
-------------------------------
5454

55+
To install and update the webdriver, run `npm run e2e-update`.
56+
5557
To serve the app, run `ionic serve`.
5658

5759
To run the end-to-end tests, run (while the app is being served) `npm run e2e`.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"ionic:serve": "ionic-app-scripts serve",
1111
"test": "karma start ./test-config/karma.conf.js",
1212
"test-ci": "karma start ./test-config/karma.conf.js --single-run",
13-
"e2e": "webdriver-manager update --standalone false --gecko false; protractor ./test-config/protractor.conf.js"
13+
"e2e": "protractor ./test-config/protractor.conf.js",
14+
"e2e-update": "webdriver-manager update --standalone false --gecko false"
1415
},
1516
"dependencies": {
1617
"@angular/common": "4.1.2",

0 commit comments

Comments
 (0)