roman266 / project_garage

1 stars 0 forks source link

Create requirements for login page #5

Closed romanl231 closed 2 weeks ago

romanl231 commented 2 weeks ago

Requirements

  1. title(Logo)
  2. input email
    • title: "Email"
    • placeholder: "Type your email"
    • input validation: "xxxxxxxxxxxx@gmail.com"
  3. input password
    • title: "Password"
    • placeholder: "Type your password"
  4. button "Login"
    • button isn't active befor the fields pass validation did not pass validation
    • when passed send request to login
  5. button "Sign up"
    • when passed moves user to sign up page

      Acceptence criteria

      1. email validation
        • when email did not pass validation user gets error "Enter correct email"
      2. successful login
        • user moves to main page of this account
      3. login failed
        • user gets error "Incorrect email or password" and stays at login page