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 @Test
fun showDefaultHomeScreen() { fun showDefaultHomeScreen() {
homeScreen { homeScreen {
verifyAccountsSignInButton()
swipeToBottom() swipeToBottom()
verifyAccountsSignInButton()
Screengrab.screenshot("HomeScreenRobot_home-screen-scroll") Screengrab.screenshot("HomeScreenRobot_home-screen-scroll")
TestAssetHelper.waitingTime TestAssetHelper.waitingTime
} }

View File

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