Commit d114c5f0 authored by AndiAJ's avatar AndiAJ
Browse files

Bug 1896830 - Re-enable homeScreenItemsTest UI test r=ohorvath,jajohnson

The UI test was added added by Noah as disabled when he made composable tabs tray refactoring work.

Added the workaround, and successfully passed 150x on Firebase

Differential Revision: https://phabricator.services.mozilla.com/D210425
parent 95c87123
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@
package org.mozilla.fenix.ui

import androidx.compose.ui.test.junit4.AndroidComposeTestRule
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.mozilla.fenix.customannotations.SmokeTest
@@ -37,10 +36,13 @@ class ComposeHomeScreenTest : TestSetup() {
    val retryTestRule = RetryTestRule(3)

    // TestRail link: https://testrail.stage.mozaws.net/index.php?/cases/view/235396
    @Ignore("Failing, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1844580")
    @Test
    fun homeScreenItemsTest() {
        // Workaround to make sure the Pocket articles are populated before starting the test.
        homeScreen {
        }.openThreeDotMenu {
        }.openSettings {
        }.goBack {
            verifyHomeWordmark()
            verifyHomePrivateBrowsingButton()
            verifyExistingTopSitesTabs("Wikipedia")