This project is used for quickly standing up a Protractor environment as a debugging aid.
File | Purpose |
---|---|
test/config.js |
Protractor configuration |
test/index.js |
Test spec |
web/nginx.conf |
Configuration for web server |
# Install dependencies (one time)
npm install
# Start Selenium and web server
npm start
# Run tests
npm t
Command | Purpose |
---|---|
npm restart |
Restart Docker containers |
npm stop |
Stop Docker containers |
npm lint |
Lint JavaScript files |