Skip to content

Commit

Permalink
Disable faulty tests in ScrollableFocusableInteractionTest with `reve…
Browse files Browse the repository at this point in the history
…rseScrolling=true` (#597)
  • Loading branch information
m-sasha committed Jun 11, 2023
1 parent 79c4ea8 commit 898d00e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ class ScrollableFocusableInteractionTest {

@Test
fun scrollFromViewportShrink_isInterrupted_byGesture() = runParametrizedTest {
// This test is invalid for reverseScrolling=true. See b/285846153
if (reverseScrolling!!)
return@runParametrizedTest

var viewportSize by mutableStateOf(100.toDp())

setContent {
Expand Down Expand Up @@ -319,6 +323,10 @@ class ScrollableFocusableInteractionTest {
*/
@Test
fun scrollsFocusedFocusableIntoView_whenViewportExpandedThenReshrunk_afterInterruption() = runParametrizedTest {
// This test is invalid for reverseScrolling=true. See b/285846153
if (reverseScrolling!!)
return@runParametrizedTest

var viewportSize by mutableStateOf(100.toDp())

setContent {
Expand Down

0 comments on commit 898d00e

Please sign in to comment.