Skip to content

Commit

Permalink
feat(package): added e2e commands for specific suites
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismaestro authored and Ismael Ramos committed Oct 7, 2017
1 parent 5f7c302 commit 48f71ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ Live DEMO [here](http://angularexampleapp.com/)!

`npm run test` - Runs unit tests with karma and jasmine

`npm run e2e` - Runs end to end tests with protractor
`npm run e2e` - Runs end to end tests

`npm run e2e:home` - Runs end to end tests only for the home directory. There are more of this commands for development purposes

`npm run build` - Builds the app for production

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"deploy": "ng build --prod --base-href / && angular-cli-ghpages",
"test": "ng test --watch=false --code-coverage",
"e2e": "ng e2e",
"e2e:home": "ng e2e --serve false --prod --specs=./e2e/pages/home/**/*.e2e-spec.ts",
"e2e:heroeslist": "ng e2e --serve false --prod --specs=./e2e/pages/heroes-list/**/*.e2e-spec.ts",
"lint": "ng lint",
"ci": "npm run lint && npm run test && npm run e2e",
"sme": "ng build && source-map-explorer dist/main.bundle.js",
Expand Down

0 comments on commit 48f71ce

Please sign in to comment.