Skip to content

Validation Testing

Lucas Saber edited this page Mar 5, 2021 · 6 revisions

On Startup

No. Step to Reproduce Expected Behavior
1 Open app Splash screen is displayed
2 Wait a few seconds and user is not logged in Login page is displayed
3 Wait a few seconds and user is previously logged in Main page is displayed



Authorization Stack

Login

No. Step to Reproduce Expected Behavior
1 Press the email text input Keyboard appears on phone and you can enter text
2 Press the Password text input Keyboard appears on phone and you can enter text
3 Type text inside password field Password entry is secure and only shows last typed character
4 Enter invalid email and invalid password and press 'Login' Error text displays 'enter a valid email'
5 Enter invalid email and valid password and press 'Login' Error text displays 'enter a valid email'
6 Enter valid email and invalid password and press 'Login' Error text displays 'incorret credentials'
7 Enter valid email and valid password and press 'Login' User sent to 'main' screen
8 Click 'forgot password' text Modal appears with a text input
9 Press the email text input on 'forgot password' modal Keyboard appears on phone and you can enter text
10 Enter invalid email on 'forgot password' modal Error text displays 'enter a valid email'
11 Enter valid email on 'forgot password' modal Error text displays 'enter a valid email'
12 Press 'cancel' button on 'forgot password' modal Forgot password modal disappears and user is brought to 'login' page
13 Press 'register here' text highlighted as a hyperlink User is brought to 'registration' page

Registration

No. Step to Reproduce Expected Behavior
1 Press the username text input Keyboard appears on phone and you can enter text
2 Press the email text input Keyboard appears on phone and you can enter text
3 Press the password text input Keyboard appears on phone and you can enter text
4 Press the confirm password text input Keyboard appears on phone and you can enter text
5 Enter invalid email and press 'Sign up' Error text displays 'please enter your email'
6 Enter email without '@' and '.' and fill out rest of the fields and press 'Sign up' Error text displays 'enter a valid email'
7 Enter different password and confirm password and press 'Sign up' Error text displays 'passwords do not match'
8 Enter valid information and press 'Sign up' Alert confirms you have signed up and then brought to 'login' page
9 Press 'log in' text highlighted as a hyperlink User is brought to 'login' page



Main Stack

Main (Camera) Page

No. Step to Reproduce Expected Behavior
1 Press 'flip camera' icon in camera options container Camera is toggled between back and front camera
2 Press 'flash' icon in camera options container Camera flash is toggled between on and off
3 Press 'collections' page icon User is brought to 'collections' page
4 Press 'account' page icon User is brought to 'account' page
5 Press 'capture' button with a recognized breed Recognized modal is displayed showing your captured image and options to save or retry
6 Press 'Add to Collection' button in recognized breed modal Exit modal
7 Press 'Retake Photo' button in recognized breed modal Exit modal
8 Press 'capture' button with an unrecognized breed Unrecognized modal is displayed showing your captured image and option to retry
9 Press 'Retake Photo' button in unrecognized breed modal Exit modal

Account Page

No. Step to Reproduce Expected Behavior
1 Press back button on navigation bar User is brought to 'main' page
2 Press 'Log out' button User is brought to 'login' page

Collection Page

No. Step to Reproduce Expected Behavior
1 Press back button on navigation bar User is brought to 'main' page
2 Press an item is the scrollable list Carousel scrolls to corresponding item
3 Scroll in Carousel Nothing happens
4 Swipe up and down in vertical list list moves up and down depending on swipe direction