We are removing the ZimHostFragment test from the API level 33 because, most of the time, the emulator does not have WiFi service. Running this test on this emulator is not worthwhile, as we are testing this code on WiFi.

This commit is contained in:
MohitMaliFtechiz 2024-03-19 22:31:35 +05:30
parent 2e9d429099
commit aaafa97690

View File

@ -97,7 +97,9 @@ class ZimHostFragmentTest {
@Test @Test
fun testZimHostFragment() { fun testZimHostFragment() {
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) { if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1 &&
Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU
) {
activityScenario.onActivity { activityScenario.onActivity {
it.navigate(R.id.libraryFragment) it.navigate(R.id.libraryFragment)
} }