Protractor Exercise
Example Protractor project that:
- Makes use of page objects
- Uses protractor-flake to re-run failed tests
Setup:
- Install Node (v8.x.x or later)
npm install
to install the project dependencies
Run tests:
- run tests via plain Protractor
node_modules/.bin/protractor conf.js
- run tests
npm test
(runs via flake, which re-runs failed tests) - run with flake
./flake conf.js
Troubleshooting
- run
node -v
and make sure your node version is 8.x.x or greater webdriver-manager
should have updated on install, but if not, runnpm run update
to be sure
Test Results :
- First Test Suite :
- Second Test Suite :
- Third Test Suite :
- Fourth Test Suite :
- Fifth Test Suite :