Skip to content

Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.

What's new test: jump to the installed version by its key

jesse-agent-23222f3c26e0b9f
diff --git a/app/src/test/java/app/tellyscope/ScreenshotTest.kt b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
index 8fc2dce..3b454ae 100644
--- a/app/src/test/java/app/tellyscope/ScreenshotTest.kt
+++ b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
@@ -718,7 +718,9 @@ class ScreenshotTest {
compose.onNodeWithText("Update").performClick()
assertEquals(1, updates)
// A long newest section pushes the installed one off screen, where the list hasn't drawn it yet.
- compose.onNode(hasScrollAction()).performScrollToNode(hasText("Installed"))
+ // By key: shot() stops the clock, so the list never redraws while scrolling to a node, and that never stops.
+ compose.onNode(hasScrollAction()).performScrollToKey(changelog[1].version)
+ compose.mainClock.advanceTimeBy(1_000)
compose.onNodeWithText("Installed").assertExists()
}