Story #23 Add Email Validation - cseseniordesign/reservations GitHub Wiki
End User Documentation
Dev Testing Instructions
- Make sure you are on the most recent version of the
dev-add-email-validation
branch.
- Start your dev environment.
- Navigate to
/new_members/
- Select any of the new member orientation sessions to sign up for.
- Enter a valid email as well as the other form information
- Ensure that registration works as expected and a confirmation email is sent to the email entered.
- Repeat steps 3-5 except with an invalid email (ex. hello)
- Ensure that there is a warning that you have entered an invalid email.
- Ensure there are no errors in the console throughout your testing.
Production Testing Instructions
- Go to https://innovationstudio-manager.unl.edu/home/
- Follow steps 3 and up from the dev testing instructions above.
Technical Documentation
routes/new_members.rb
- Added email regex checking to ensure that only valid emails are allowed to be submitted.
- Sends a confirmation email to users about the event when they sign up with a valid email.