This application is an example implementation of the ideas presented in the blog post "Ember CLI testing with BrowserStack". It includes:
- Cross-browser UI testing using BrowserStack Local and REST API
- Travis CI BrowserStack addon integration
Read more about it (and the gotchas) on the blog post.
You will need the following things properly installed on your computer.
- Yarn
- Node.js (with NPM)
- Ember CLI
- BrowserStack Local
git clone <repository-url>
this repositorycd ember-browserstack-example
yarn install
ember serve
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
BrowserStackLocal --key <key>
sets up local connectionexport BROWSERSTACK_USER=<username>; export BROWSERSTACK_ACCESS_KEY=<key>
from Automate tab of BrowserStackember test --test-port 8000 -l <launcher>
- Test port 8000 allows Safari connection
ember build
(development)ember build --environment production
(production)
- ember.js
- ember-cli
- browserstack/api - Spec of latest BrowserStack JavaScript testing api
- Development Browser Extensions
- Ember-cli-sauce addon was an informative reference for cross-browser ember testing
- Adapted part of vedharish/browserstack-jstesting-cli for testem launcher