-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register a user #8
Comments
Hey @foongminwong, since a user story is supposed to be of value to the customer, I'm going to modify the acceptance criteria to include the backend as well. It needs to be a complete slice (frontend + backend) to have a working story. Hope that's okay |
Yes! Feel free to make changes on the issue :) |
Thanks, @meenakshi-dhanani and @foongminwong for preparing this issue. I'll touch on it as soon as I'm done with backend issue#24 😉 |
Actually, please don't open a new issue or channel on Zulip. I have started a discussion on this in issue#710 mentorship android) and Zulip topic #Common input validations under mentorship-system channel. So, please use these existing ones instead. Thanks |
@mtreacy002 I have updated the validation details on this. Validation needs to be a check on the front end, as well on the backend API. I'll add it to that issue as well. In case someone bypasses the front end and hits the API, the backend needs to be protected too. |
Description
As a user,
I want to register on BIT,
So that I can sign up as mentor/mentee for programs I like
Mocks
See the latest mock under #2
Linked Issue
Create Registration API
Out of Scope
Handling duplicate registrations
Acceptance Criteria
Update [Required]
Given I am on registration page,
When I submit all details successfully,
Then I see a message saying registration was successful.
Given I submit the registration form,
When I receive an error from the backend service,
Then I see a message saying there was an error
must have all the fields for Mentorship System user registration:
[ ] name
[ ] username
[ ] email
[ ] password(should be masked)
[ ] terms and conditions
must have available to be a
Mentor
,Mentee
radio buttonsmust have
Signup
andLogin
buttonsGiven I am on the registration page,
When I click on submit after filling the form,
Then I see validation errors on the UI if any one of the following are an issue
Email does not match xxx@xxx.com, password does not follow a combination of at least 1
digit, at least special character, at least uppercase letter, and length as 12 characters, confirm
password does not match password, any of the mandatory fields are missing, terms and
conditions is not checked.
For the "name" field to be valid, it may contain one or more character from:
For the "email" field to be valid, it must have the following structure:
For the "username" field to be valid, it may contain one or more character from:
- letter "a" to "z" and/or "A" to "Z",
- number "0" to "9", and/or
- special character "-".
Definition of Done
Estimation
2-3 days
The text was updated successfully, but these errors were encountered: