Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

test(android): let the Usage chooser test find a limit shown twice

leepokaifea2de07cd44
diff --git a/apps/android/app/src/androidTest/kotlin/com/codync/android/UsageScreenTest.kt b/apps/android/app/src/androidTest/kotlin/com/codync/android/UsageScreenTest.kt
index e9648ee6..9373c51b 100644
--- a/apps/android/app/src/androidTest/kotlin/com/codync/android/UsageScreenTest.kt
+++ b/apps/android/app/src/androidTest/kotlin/com/codync/android/UsageScreenTest.kt
@@ -65,7 +65,8 @@ class UsageScreenTest {
compose.onNodeWithText("No reading yet").assertExists()
compose.onNodeWithText("Cursor").performScrollTo().performClick()
assertEquals(listOf("cursor" to true), changes)
- compose.onNodeWithText("Weekly").assertExists()
+ // The card names its tightest limit and lists it too.
+ compose.onAllNodesWithText("Weekly").onFirst().assertExists()
compose.runOnUiThread { state.value = state.value.copy(usage = usage("", false)) }
compose.waitForIdle()
compose.onNodeWithText("Weekly").assertDoesNotExist()