|
|
|
@ -9,6 +9,7 @@ import kotlinx.coroutines.test.runTest
|
|
|
|
|
import mozilla.components.support.test.ext.joinBlocking
|
|
|
|
|
import mozilla.components.support.test.libstate.ext.waitUntilIdle
|
|
|
|
|
import mozilla.components.support.test.rule.MainCoroutineRule
|
|
|
|
|
import org.junit.Ignore
|
|
|
|
|
import org.junit.Rule
|
|
|
|
|
import org.junit.Test
|
|
|
|
|
import org.mozilla.fenix.shopping.middleware.ReviewQualityCheckPreferences
|
|
|
|
@ -22,6 +23,7 @@ class ReviewQualityCheckStoreTest {
|
|
|
|
|
private val scope = coroutinesTestRule.scope
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
@Ignore("Flaky, see https://bugzilla.mozilla.org/show_bug.cgi?id=1846229")
|
|
|
|
|
fun `GIVEN the user has not opted in the feature WHEN store is created THEN state should display not opted in UI`() =
|
|
|
|
|
runTest {
|
|
|
|
|
val tested = ReviewQualityCheckStore(
|
|
|
|
|