ita-social-projects / ita-social-projects/SpaceToStudy-Client
A Guest provides credentials to Sign up as a Student
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
As s Guest I want to fill all the necessary data so that I can sign up as a Student.
Precondition: Student Sign up popup appeared.
Acceptance Criteria:
1. Student’s [Sign up block](https://www.figma.com/file/7yGSlJxxF3a6eqbvCv5bBd/Space2Study-%2F-Dev_Handoff?node-id=442%3A35510) contains the following components:
- Title “Зареєструватися студентом”, “Student Sign up”
- 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 the registration block are obligatory to fill in. When a 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 registration 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 registration 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 student” is highlighted.
11. When a Guest clicks “Стати ментором”, “Become mentor” , then the “Student Sign up” pop-up closes and ”Mentor Sign up" pop-up appears.
Contributor guide
Assessment
This issue has not been assessed yet.