Skip to content

narottamgla/protractor-cucumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protractor-cucumber

Protractor BDD sample tests using cucumber

Project Description:

  • Project setup with Protractor version 5.1.2.
  • Makes use of Page Objects.
  • Written in Java script
  • Page Object classes are in the ./pages directory and should inherit from basePage.po.
  • Specs scripts are in the ./specs directory, grouped into directory by page or functionality.
  • Mock data (eg usernames and pws) are in ./data directory.
  • Utility functions are in ./utils directory.

Setup:

  • Install Node (v6.x.x or later)
  • Follow setup steps described here
  • npm install to install the project dependencies
  • 'webdriver-manager update' to install selenium & borwser specific drivers

Run tests:

  • npm run protractor Run tests using Chrome browser.