npm install
npm run serve
npm run build
Run End-to-End Tests with Cypress
npm run test:e2e
npm run lint
- Build a small app that consists of 3 pages.
- Login (Contains Login Form + Slider)
- Welcome (Contains Welcome Message + Logout Button)
- 404
- Write automation tests for the login form using cypress.
The login form consists of 2 fields and one button (User email, password, login button)
- The login button is disabled till there are valid values in the other fields.
- The email has email validation with text.
- The password must be more than 6 characters otherwise shows (password must be six characters or more).
- The password must contain at least 1 uppercase letters and one number.
- The password must not contain the email address name (the part that came before the @).
- Login with email address that doesn't exist in login list 👉👉 Must show a validation error Message.
- Login with email address that exist in login list and invalid password 👉👉 Must show a validation error Message.
- Enter Invalid email address 👉👉 Must show error hint and change input border color.
- Login with email address that exist in login list and valid password 👉👉 Must redirect to welcome page.
