For #28165 fix showDefaultHomeScreen screenshot UI test

This commit is contained in:
AndiAJ 2022-12-13 14:08:07 +02:00 committed by mergify[bot]
parent 3632aab037
commit 7d0b1e9dd1
1 changed files with 4 additions and 1 deletions

View File

@ -194,7 +194,10 @@ class HomeScreenRobot {
// First Run elements
fun verifyWelcomeHeader() = assertItemContainingTextExists(welcomeHeader)
fun verifyAccountsSignInButton() = assertItemWithResIdExists(signInButton)
fun verifyAccountsSignInButton() {
scrollToElementByText(getStringResource(R.string.onboarding_account_sign_in_header))
assertItemWithResIdExists(signInButton)
}
fun verifyStartBrowsingButton() {
scrollToElementByText(getStringResource(R.string.onboarding_finish))
assertItemWithResIdExists(startBrowsingButton)