Project to study and play with google-chrome-puppeteer framework and jest to write UI automated test cases
In order to run this project, you need to have node
installed.
To execute the tests, run following commands:
npm install && npm test
This project goes to this link: https://the-internet.herokuapp.com/login and perform following test scenarios:
- Login with correct credentials
- Login with incorrect user
- Login with incorrect password
Go to test file: login.spec.js
and in line 10
change from headless: true
to headless: false
so the chrome browser pops up when running again.