package Ġcom . gmail . uia 0 5 9 4 6 6 . autom ator uis ample . screenshots . ui Ċ Ċ import Ġandroidx . test . ext . junit . runners . Android JUnit 4 Ċ import Ġcom . gmail . uia 0 5 9 4 6 6 . autom ator uis ample . R Ċ import Ġcom . gmail . uia 0 5 9 4 6 6 . autom ator uis ample . screenshots . Base Test Ċ import Ġjunit . framework . Assert . assertTrue Ċ import Ġorg . junit . Fix Method Order Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ Ċ @ RunWith ( Android JUnit 4 :: class ) Ċ Ċ class ĠSign In Test Ġ: ĠBaseTest () Ġ{ ĊĠ Ġval Ġemail =" test @ test . com " ĊĠ Ġval Ġpassword = Ġ" 1 2 3 4 5 6 " ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġsign In _ success () Ġ{ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĊĠĠĠ Ġs . input Email ( email ) ĊĠĠĠ Ġs . input Password ( password ) ĊĠĠĠ Ġval Ġa = s . enter () ĊĠĠĠĠĊĠĠĠ Ġd . check Open ( R oto Device . type . ACCOUNT ) ĊĠĠĠĠĊĠĠĠ ĠassertTrue ( a . email On Screen == email ) ĊĠ Ġ} ĊĠĠĊĠĠĊĠ Ġ@ Test ĊĠ Ġfun Ġsign In _ missing Email _ error () Ġ{ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĊĠĠĠ Ġs . input Email ("") ĊĠĠĠ Ġs . input Password (" 1 2 3 4 5 6 ") ĊĠĠĠ Ġs . enter () ĊĠĠĠ Ġsleep ( 4 0 0 ) ĊĠĠĠĠĊĠĠĠ Ġs . check Hint Email ( R . string . missing _ email _ address ) ĊĠĠĠ Ġd . check Open ( R oto Device . type . SIGN _ IN ) ĊĠ Ġ} ĊĠĠĊĠ Ġ@ Test ĊĠ Ġfun Ġsing In _ missing Password _ error () Ġ{ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĊĠĠĠ Ġs . input Password ("") ĊĠĠĠ Ġs . enter () ĊĠĠĠ Ġs . check Hint Password ( R . string . missing _ password ) ĊĠĠĊĠĠĠ Ġd . check Open ( R oto Device . type . SIGN _ IN ) ĊĠ Ġ} ĊĠĠĊĠ Ġ@ Test ĊĠ Ġfun Ġsign In _ open Reset Password _ success () Ġ{ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĠ Ġs . navigate To Reset Password () ĊĠĠĠĠĊĠĠĠ Ġd . check Open ( R oto Device . type . RESET _ PASSWORD ) ĊĠ Ġ} ĊĠĠĊĠ Ġ@ Test ĊĠ Ġfun Ġsign In _ open SignUp _ success () Ġ{ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĠ Ġs . navigate To SignUp () ĊĠĠĠĠĊĠĠĠ Ġd . check Open ( R oto Device . type . SIGN _ UP ) ĊĠ Ġ} ĊĠĠĊĠ Ġ@ Test ĊĠ Ġfun Ġsign _ in _ basic Views Displayed (){ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĠ Ġd . check Open ( R oto Device . type . SIGN _ IN ) ĊĠĠĠ Ġs . check Default Layout () ĊĠ Ġ} ĊĠĠĊĠ Ġ@ Test ĊĠ Ġfun Ġcant SignIn Missing Symbol Email () Ġ{ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĠĠĊĠĠĠ Ġs . input Email (" s dfs df . com ") ĊĠĠĠ Ġs . enter () ĊĠĠĠĠĊĠĠĠ Ġs . check Hint Email ( R . string . invalid _ email ) ĊĠĠĠ Ġd . check Open ( R oto Device . type . SIGN _ IN ) ĊĠ Ġ} ĊĠĠĊĠ Ġ@ Test ĊĠ Ġfun Ġcant SignIn Small Password () Ġ{ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĠĠĊĠĠĠ Ġs . input Password (" s ") ĊĠĠĠ Ġs . enter () ĊĠĠĠĠĊĠĠĠ Ġs . check Hint Password ( R . string . invalid _ password ) ĊĠĠĠ Ġd . check Open ( R oto Device . type . SIGN _ IN ) ĊĠ Ġ} ĊĠĠĊĠ Ġfun Ġwhen Email NotExist _ display Sn ackBar (){ ĊĠĠĠ Ġval Ġd = R oto Device ( device ) ĊĠĠĠ Ġval Ġs = d . open Welcome (). signIn With Email () ĊĠĠĠ Ġs . input Email (" df @ test . com ") ĊĠĠĠ Ġs . input Password (" 1 2 3 4 5 6 ") ĊĠĠĠ Ġs . enter () ĊĠĠĠ Ġs . check Sn ackBar ( R . string . email _ address _ no _ exist ) ĊĠ Ġ} Ċ }