Skip to content

tpowell01/protractor-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

227 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeship Status for qualityshepherd/protractor-example

Protractor Example

Example Protractor project that:

  • 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

Setup:

  • Install Node (v4.x.x or later)
  • git clone https://github.com/qualityshepherd/protractor_example
  • npm install to install the project dependencies
  • node_modules/.bin/webdriver_manager update to update drivers

Run tests:

  • run npm test or directly with protractor:
  • node_modules/.bin/protractor conf.js or directly with protractor-flake:
  • ./flake conf.js or on saucelabs (add your username/key)
  • ./flake sauceConf.js

Or if you're a non-reader, watch the video...

Troubleshooting

  • run node -v and make sure your node version is 4.x.x or greater
  • webdriver-manager should have updated on install, but if not, run npm run update to be sure

About

Example protractor project that uses page objects...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%