cd e2e
npm install
npm run setup
npm start
npm test
The above command will:
- open browser
- execute test cases
- generate HTML report
Execution in Action
Note: This is a sample login page, if you want to know more check out this at
GitHub
npm install -g pm2
pm2 start ecosystem.config.js
Note: the above command will start the selenium server in the background, you can access it
here
npm test
pm2 stop ecosystem.config.js
pm2 delete ecosystem.config.js