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:
parent
1f45d10b84
commit
7d7f64f839
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user