match the disc header text case-insensitively in the screenshot test

This commit is contained in:
austinried
2026-10-04 00:29:58 +00:00
parent 64ec65d746
commit 2552e1a10c
@@ -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")
}