mate-academy / qa_cypress_e2e_simple_auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cypress: Simple Auth Assertions

Workflow

  1. Fork the repo.
  2. Clone your forked repository.
  3. Run the command npm i.
  4. Create a new branch git checkout -b testing.
  5. Resolve tasks in the cypress/e2e/signIn.cy.js.
  6. Check yourself before submitting the task with a Cypress checklist.
  7. Create a pull request.
  8. Do not forget to click on Re-request review if you submit the homework after previous review.

Task

App for testing: https://the-internet.herokuapp.com/login

Your task is to automate the next flow:

  1. Login with valid creds (tomsmith/SuperSecretPassword!):
    • assert you successfully logged in.
  2. Login with invalid creds (invalid Username, invalid Password):
    • assert validation errors.
  3. Logout from the app:
    • assert you successfully logged out.

About

License:MIT License


Languages

Language:JavaScript 98.0%Language:Shell 2.0%