2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Fix screenshots tests: showDefaultHomeScreen, bookmarksManagementTest

This commit is contained in:
Oana Horvath 2021-04-12 15:51:30 +03:00
parent 1f45d10b84
commit 7d7f64f839
2 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ class DefaultHomeScreenTest : ScreenshotTest() {
@Test
fun showDefaultHomeScreen() {
homeScreen {
verifyAccountsSignInButton()
swipeToBottom()
verifyAccountsSignInButton()
Screengrab.screenshot("HomeScreenRobot_home-screen-scroll")
TestAssetHelper.waitingTime
}

View File

@ -142,8 +142,8 @@ class MenuScreenShotTest : ScreenshotTest() {
editBookmarkFolder()
Screengrab.screenshot("ThreeDotMenuBookmarksRobot_edit-bookmark-folder-menu")
// It may be needed to wait here to have the screenshot
mDevice.pressBack()
bookmarksMenu {
navigateUp()
}.openThreeDotMenu("test") {
deleteBookmarkFolder()
Screengrab.screenshot("ThreeDotMenuBookmarksRobot_delete-bookmark-folder-menu")