mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
match the disc header text case-insensitively in the screenshot test
This commit is contained in:
@@ -258,7 +258,7 @@ class AppScreenshotTest {
|
||||
awaitText("Everything In Its Right Place")
|
||||
composeRule.onRoot().performTouchInput { swipeUp(startY = centerY + 600f, endY = centerY - 600f, durationMillis = 400) }
|
||||
composeRule.waitUntil(timeoutMillis = 5_000) {
|
||||
composeRule.onAllNodesWithText("Disc 2").fetchSemanticsNodes().isNotEmpty()
|
||||
composeRule.onAllNodesWithText("Disc 2", ignoreCase = true).fetchSemanticsNodes().isNotEmpty()
|
||||
}
|
||||
composeRule.onRoot().captureRoboImage("src/test/screenshots/album_detail_multidisc.png")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user