|
|
@ -72,6 +72,7 @@ import dagger.hilt.android.testing.HiltAndroidTest
|
|
|
|
import dagger.hilt.android.testing.HiltTestApplication
|
|
|
|
import dagger.hilt.android.testing.HiltTestApplication
|
|
|
|
import kotlinx.coroutines.flow.first
|
|
|
|
import kotlinx.coroutines.flow.first
|
|
|
|
import kotlinx.coroutines.runBlocking
|
|
|
|
import kotlinx.coroutines.runBlocking
|
|
|
|
|
|
|
|
import org.junit.After
|
|
|
|
import org.junit.Before
|
|
|
|
import org.junit.Before
|
|
|
|
import org.junit.Rule
|
|
|
|
import org.junit.Rule
|
|
|
|
import org.junit.Test
|
|
|
|
import org.junit.Test
|
|
|
@ -153,6 +154,11 @@ class SnackbarInsetsScreenshotTests {
|
|
|
|
TimeZone.setDefault(TimeZone.getTimeZone("UTC"))
|
|
|
|
TimeZone.setDefault(TimeZone.getTimeZone("UTC"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@After
|
|
|
|
|
|
|
|
fun resetConnectionOnline() {
|
|
|
|
|
|
|
|
networkMonitor = TestNetworkMonitor().apply { setConnected(true) }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
fun phone_noSnackbar() {
|
|
|
|
fun phone_noSnackbar() {
|
|
|
|
testSnackbarScreenshotWithSize(
|
|
|
|
testSnackbarScreenshotWithSize(
|
|
|
|