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 13, 2023
1 parent cc85562 commit d9293d3
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 d9293d3

Please sign in to comment.