mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 03:38:43 +03:00
taking the use case screen into account when accessing the sign up flows in the sanity tests
This commit is contained in:
parent
9b3af7cfc9
commit
63a937c096
1 changed files with 4 additions and 0 deletions
|
@ -40,8 +40,11 @@ class OnboardingRobot {
|
|||
|
||||
private fun crawlGetStarted() {
|
||||
clickOn(R.id.loginSplashSubmit)
|
||||
assertDisplayed(R.id.useCaseHeaderTitle, R.string.ftue_auth_use_case_title)
|
||||
clickOn(R.id.useCaseOptionOne)
|
||||
OnboardingServersRobot().crawlSignUp()
|
||||
pressBack()
|
||||
pressBack()
|
||||
}
|
||||
|
||||
private fun crawlAlreadyHaveAccount() {
|
||||
|
@ -66,6 +69,7 @@ class OnboardingRobot {
|
|||
assertDisplayed(R.id.loginSplashSubmit, R.string.login_splash_create_account)
|
||||
if (createAccount) {
|
||||
clickOn(R.id.loginSplashSubmit)
|
||||
clickOn(R.id.useCaseOptionOne)
|
||||
} else {
|
||||
clickOn(R.id.loginSplashAlreadyHaveAccount)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue