Project-Based-10-24-vk / Client

0 stars 0 forks source link

Guest provides credentials to sign up as a Tutor #6

Open vlad-khrychov opened 1 week ago

vlad-khrychov commented 1 week ago

As a Guest, I want to fill all the necessary data, so that I can sign up as a Tutor

Precondition: The “Sign up as a tutor” pop-up is opened.

Acceptance criteria:

  1. The “Sign up as a tutor” block contains the following components: 1.1 The title (“Sign up as a tutor”). 1.2 Five inputs with the placeholder text:
    • The “First name *”;
    • The “Last name *”;
    • The “Email *”;
    • The “Password *”;
    • The “Confirm password *”;

1.3 The text (“I agree to the Terms and Privacy policy”). 1.4 An agreement checkbox . 1.5 The ”Sign up” button. 1.6 The text (“or continue”) below the “Sign up” button. 1.7 The “Sign up with Google” button. 1.8 The text (“Already have a Space2Study account?) and the “Login!” button below the “Sign up with Google” button. The Mockup: Image

  1. Inputs in “Sign up as a tutor” block are mandatory to fill in. The first input is autofocused. When a Guest clicks on the particular input, the placeholder text transfer to the transparent header. Constraints for each block:

    • The “First name *” has to be maximum 30 characters long containing alphabetic characters (case insensitive) and a space is allowed between two words. Spaces at the start or at the end are considered to be invalid. A single-word name is also valid;
    • The “Last name *” has to be maximum 30 characters long containing alphabetic characters (case insensitive) and a space is allowed between two words. Spaces at the start or at the end are consider to be invalid. A single-word name is also valid;
    • The “Email *” should have the following format: “local-part@domain.com”;
    • The “Password *” has to be minimum 8 and maximum 25 characters long, must contain alphabetic (case insensitive) and numeric characters;
    • The “Confirm password *” must be the same as “Password”.
  2. When a User clicks on the Image eye icon button, the eye icon button changes to Image, and the symbols in the password field become visible. Until that the visualization of provided symbols is in asterisks format.

  3. The agreement checkbox has to be mandatory marked by a Guest.

  4. Phrases “Terms” and “Privacy policy” are underlined and highlighted.

  5. When a Guest clicks the “Terms” button or “Privacy policy” button, then the system provides him/her to the “Terms of Use” page or the “Privacy Policy” page.

  6. When the agreement checkbox is not marked by a Guest, the “Sign up” button is not active.

  7. When a Guest properly filled all the necessary fields and marked agreement checkbox , then he/she can click the “Sign up” button. When a Guest clicks the “Sign up” button then “Sign up as a tutor” pop-up closes.

  8. When a User clicks on the “Login!” button, the system closes “Sign up as tutor” pop-up and provides him/her to the Log in pop-up to sign up as a tutor.

  9. The text “Login!” is underlined and highlighted.

  10. When a Guest clicks on the “Sign up” button, the “Sign up as a tutor” pop-up closes and the pop-up message appears.he Mockup: Image

  11. After entering all correct values and clicking on the “Sign up” button, the User gets a letter with the link that redirects to the cabinet where further information has to be filled in.