- Makes use of page objects
- Runs tests on Sauce Labs
- Runs multiple browsers at once
- Includes examples tests for both Angular, and non-Angular applications
- Uses protractor-flake to re-run failed tests
- Install Node (v4.x.x or later)
git clone https://github.com/qualityshepherd/protractor_examplenpm installto install the project dependenciesnode_modules/.bin/webdriver_manager updateto update drivers
- run
npm testor directly with protractor: node_modules/.bin/protractor conf.jsor directly with protractor-flake:./flake conf.jsor on saucelabs (add your username/key)./flake sauceConf.js
Or if you're a non-reader, watch the video...
- run
node -vand make sure your node version is 4.x.x or greater webdriver-managershould have updated on install, but if not, runnpm run updateto be sure