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: scroll to the installed version before checking it

jesse-agent-23278512344b076
diff --git a/app/src/test/java/app/tellyscope/ScreenshotTest.kt b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
index d6cc911..8fc2dce 100644
--- a/app/src/test/java/app/tellyscope/ScreenshotTest.kt
+++ b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
@@ -715,9 +715,11 @@ class ScreenshotTest {
var updates = 0
shot("97_whats_new_update") { whatsNewUpdate(newer = true) { updates++ }() }
compose.onNodeWithText("Not installed").assertExists()
- compose.onNodeWithText("Installed").assertExists()
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"))
+ compose.onNodeWithText("Installed").assertExists()
}
@Test fun whatsNew_updateWaiting_dark() = shot("97_whats_new_update", dark = true) { whatsNewUpdate(newer = true)() }