ita-social-projects / ita-social-projects/SpaceToStudy-Client
A Guest provides credentials to Sign up as a Tutor
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
As a Guest I want to fill all the necessary data so that I can Sign up as a Tutor.
Precondition: Tutor Sign up pop-up appeared.
Acceptance Criteria:
1. “Tutor” [Sign up block](https://www.figma.com/file/7yGSlJxxF3a6eqbvCv5bBd/Space2Study-%2F-Dev_Handoff?node-id=442%3A35474) contains the following components:
- Title “Зареєструватись тютором”, “Sign up as a Tutor”
- Five fields with transparent headers:
- “Ім’я*”, “First name*”
- “Прізвище*”, “Last name*”
- “Email*”
- “Пароль*”, “Password*”,
- “Підтвердити пароль”, “Confirm Password”
-Text “Я погоджуюся з Правилами використання та Політикою конфіденційності”,
“I agree to the Terms and Privacy policy”
- Press an agreement icon .
- ”Зареєструватися”, “Sign up” button.
- The text below “Sign up” button “або продовжіть з”, “or continue with”.
- “Google” button.
- Text below the “Sign up” button: “Вже маєте обліковий запис Space2Study? Увійдіть”, “Already have a Space2Study account? ”Log In”
2. Fields in Sign up block are obligatory to fill in. When Guest clicks on the particular field then the transparent header disappears. Constraints for each block:
- “Ім’я*”, “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. Single word name is also valid
- “Прізвище*”, “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. Single word name is also valid.
- “Email*” should have the following format: “local-part@domain.com”
- “Пароль*”, “Password*” has to be minimum 8 and maximum 25 characters long must contain alphabetic (case insensitive), numeric and special characters.
- “Підтвердити пароль*”, “Confirm Password*” must be the same as “ Password”.
3. The agreement icon has to be obligatory marked by a Guest.
4. Phrases “Правилами використання”, “Terms” and “Політикою конфіденційності”, “Privacy policy” are highlighted and clickable.
5. When a Guest clicks the “Правилами використання”, “Terms” or “Політикою конфіденційності”, “Privacy policy” phrase then the system provides him/her to the page with Terms and Privacy Policy description.
6. When the agreement icon is not marked by a Guest and a Guest clicks the “Sign up” button then the Sign up process doesn’t proceed.
7. When a Guest properly filled all the necessary fields and marked agreement icon then he/she can click the “Sign up” button. When a Guest clicks the “Sign up” button then Sign up pop-up closes.
8. The text “Увійти”, “”Log In” is underlined and highlighted.
9. When a Guest clicks “Увійти”, ”Log In”, then “Sign up” pop-up closes and ”Log In” pop-up appears.
10. The text “Стати тютором”, “Become a tutor” is highlighted.
11. When a Guest clicks “Стати учнем”, “Become a student”, then the “Tutor Sign up” pop-up closes and “Student sign up” pop-up appears.
Contributor guide
Assessment
This issue has not been assessed yet.