Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Disable flaky test. #193

Merged
merged 2 commits into from Aug 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -112,17 +112,18 @@ class MapInColumnTests {
}
}

@Test
fun testScrollColumn_MapCameraRemainsSame() {
initMap()
// Check that the column scrolls to the last item
composeTestRule.onRoot().performTouchInput { swipeUp() }
composeTestRule.waitForIdle()
composeTestRule.onNodeWithTag("Item 1").assertIsNotDisplayed()

// Check that the map didn't change
startingPosition.assertEquals(cameraPositionState.position.target)
}
// FIXME: https://github.com/googlemaps/android-maps-compose/issues/174
// @Test
// fun testScrollColumn_MapCameraRemainsSame() {
// initMap()
// // Check that the column scrolls to the last item
// composeTestRule.onRoot().performTouchInput { swipeUp() }
// composeTestRule.waitForIdle()
// composeTestRule.onNodeWithTag("Item 1").assertIsNotDisplayed()
//
// // Check that the map didn't change
// startingPosition.assertEquals(cameraPositionState.position.target)
// }

// @Test
// fun testPanMapUp_MapCameraChangesColumnDoesNotScroll() {
Expand All @@ -138,4 +139,4 @@ class MapInColumnTests {
// // Check to make sure column didn't scroll
// composeTestRule.onNodeWithTag("Item 1").assertIsDisplayed()
// }
}
}