mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-05 21:20:45 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/26934 fix showDefaultHomeScreen screenshot test
This commit is contained in:
parent
29d9ea6cf3
commit
6ea094b8e0
@ -43,7 +43,6 @@ class DefaultHomeScreenTest : ScreenshotTest() {
|
||||
@Test
|
||||
fun showDefaultHomeScreen() {
|
||||
homeScreen {
|
||||
swipeToBottom()
|
||||
verifyAccountsSignInButton()
|
||||
Screengrab.screenshot("HomeScreenRobot_home-screen-scroll")
|
||||
TestAssetHelper.waitingTime
|
||||
|
@ -706,9 +706,11 @@ private fun assertStartSyncHeader() {
|
||||
onView(allOf(withText(R.string.onboarding_account_sign_in_header)))
|
||||
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
||||
}
|
||||
private fun assertAccountsSignInButton() =
|
||||
private fun assertAccountsSignInButton() {
|
||||
scrollToElementByText(getStringResource(R.string.onboarding_firefox_account_sign_in))
|
||||
onView(ViewMatchers.withResourceName("fxa_sign_in_button"))
|
||||
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
|
||||
}
|
||||
|
||||
private fun assertChooseThemeHeader() {
|
||||
scrollToElementByText("Choose your theme")
|
||||
|
Loading…
Reference in New Issue
Block a user