Skip to content

This sample demonstrates the Aurelia Navigation Skeleton enriched with Cucumber e2e tests.

License

Notifications You must be signed in to change notification settings

glyad/au-karma-jasmine-protractor-cucumber

Repository files navigation

au-karma-jasmine-protractor-cucumber

This project is initially bootstrapped by aurelia-cli.

For more information, go to https://aurelia.io/docs/cli/webpack

Run dev app

Run au run, then open http://localhost:8080

To open browser automatically, do au run --open.

To change dev server port, do au run --port 8888.

To enable Webpack Bundle Analyzer, do au run --analyze.

To enable hot module reload, do au run --hmr.

Build for production

Run au build --env prod.

Unit tests

Run au test (or au karma).

To run in watch mode, au test --watch or au karma --watch.

Integration (e2e) tests

First, run npm run webdriver-update.

You need the app running for integration test. So, run your app using 'au run' and keep it runing.

Then run au protractor.