ui-sandbox-angular
angular 1.5 + webpack + semanticui
Install
npm install && npm install -g mocha -g protractor -g webpack -g webpack-dev-server -g karma-cli
Testing
If you want run only some tests matching a given pattern you can do this in the following way
karma start & karma run -- --grep=
Integration test at Browserstack
TODO https://github.com/browserstack/karma-browserstack-example
Browser test
There are 3 modes of testing
- local 2) browserstack local 3) browserstack cloud
Browserstack Local
- Use the binary at test/browser/BrowserStackLocal or Install the binary
- run
./BrowserStackLocal_Mac <KEY>
- track at https://www.browserstack.com/automate
Local
- Start the server webdriver-manager update --standalone
Browserstack cloud
- Run directly as long as keys are in .env file
Run Test Case
BROWSER_TEST_MODE=<> protractor protractor.conf.js mode = local / bs_local / bs