LocalShellUiTest: scroll to Home's Shell shortcut before tapping it (the lights panel moved it down)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
This commit is contained in:
Claude committed 2026-10-17 08:31:28 +00:00
1 parent 8608d076e3
commit b26dfe5028
1 file changed
+2 -1
@@ -9,6 +9,7 @@ import androidx.compose.ui.test.captureToImage
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import androidx.compose.ui.test.onAllNodesWithText
import androidx.compose.ui.test.onNodeWithText
import androidx.compose.ui.test.performScrollTo
import androidx.compose.ui.test.onRoot
import androidx.compose.ui.test.performClick
import androidx.test.core.app.ApplicationProvider
@@ -80,7 +81,7 @@ class LocalShellUiTest {
@Test
fun aShellFromHome() {
compose.onNodeWithText("Shell").performClick()
compose.onNodeWithText("Shell").performScrollTo().performClick()
compose.waitUntil(10_000) { Terminal.active.value?.kind == TerminalSession.Kind.LOCAL }
val s = Terminal.active.value!!
waitShell(s, "u0_a187@dmodem:~$")