An example Protractor project, that includes tests for https://github.com/tourdedave/the-internet
- Makes use of page objects
- Runs tests in docker
- View test process with VNC
- 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-palladiumgit clone https://github.com/yakovkurochkin/protractor_example.gitcd protractor_examplenpm ito install the project dependencies
- run tests via plain Protractor
node_modules/.bin/protractor conf.js - run tests via
npm test
- Install VNC client (https://www.realvnc.com/en/connect/download/viewer/)
- Connect with address
127.0.0.1:5900and passwordsecret