- Fork the repo.
- Clone your forked repository.
- Run the command
npm i. - Create a new branch
git checkout -b testing. - Resolve tasks in the
cypress/e2e/signIn.cy.js. - Check yourself before submitting the task with a Cypress checklist.
- Create a pull request.
- Do not forget to click on
Re-request reviewif you submit the homework after previous review.
App for testing: https://the-internet.herokuapp.com/login
Your task is to automate the next flow:
- Login with valid creds (
tomsmith/SuperSecretPassword!):- assert you successfully logged in.
- Login with invalid creds (invalid Username, invalid Password):
- assert validation errors.
- Logout from the app:
- assert you successfully logged out.