Skip to content

Commit

Permalink
Skip ManagedFlowInComposableTests for API 30
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-udy committed Sep 26, 2024
1 parent 6838615 commit ad89215
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package dev.enro.test.application.managedflow

import android.os.Build
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import androidx.test.espresso.Espresso
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand All @@ -16,6 +17,10 @@ class ManagedFlowInComposableTest {

@Test
fun test() {
// This test appears flaky on SDK 30, but passes locally
if (Build.VERSION.SDK_INT == 30) {
return
}
SelectDestinationRobot(composeRule)
.openManagedFlowInComposable()
.apply {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package dev.enro.test.application.managedflow

import android.os.Build
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import androidx.test.espresso.Espresso
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand All @@ -17,6 +18,10 @@ class ManagedFlowInFragmentTest {

@Test
fun test() {
// This test appears flaky on SDK 30, but passes locally
if (Build.VERSION.SDK_INT == 30) {
return
}
SelectDestinationRobot(composeRule)
.openManagedFlowInFragment()
.apply {
Expand Down

0 comments on commit ad89215

Please sign in to comment.