Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 894 Bytes

File metadata and controls

23 lines (19 loc) · 894 Bytes

Protractor Example

An example Protractor project, that includes tests for https://github.com/tourdedave/the-internet

Example Protractor project that:

  • Makes use of page objects
  • Runs tests in docker
  • View test process with VNC

Setup:

  • Install Node (v10.x.x or later)
  • Install Docker
  • docker run -d -p 4444:4444 -p 5900:5900 -v /dev/shm:/dev/shm selenium/standalone-chrome-debug:3.141.59-palladium
  • git clone https://github.com/yakovkurochkin/protractor_example.git
  • cd protractor_example
  • npm i to install the project dependencies

Run tests:

  • run tests via plain Protractor node_modules/.bin/protractor conf.js
  • run tests via npm test

VNC