Repository navigation
Report a text in a list, not the list, from a wait (CHALLENGES 387) - #330
Merged
Merged
Conversation
Fixes #329. Wait and scroll-to now answer the match with no ref, as find does. Measured with a sweep of visible texts: on main, 22 answers on the Android 15 emulator and 18 on the iOS 26.5 simulator were the list, from MobiumApp and iOS Settings alone. With this, 0 of 203 across 9 Android apps and 0 of 193 across 8 iOS apps. All five clients and MCP took the empty ref on Android. wait-states.sh fails on main on both devices and passes with this. locators, feed and mobium-app pass on both, and test-runner on Android.
This was referenced Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #329.
waitandscroll-towalked up to the nearest mapped ancestor. For a plain text in a list, that was the list, and its ref tapped the list's center. The walk now stops at a list, unless the list is what matched. The match comes back with no ref, asfindreports it:This takes the issue's open choice:
wait_forreturns an element with an empty ref, notNone. That also applies to plain text outside a list, sodocs/guides/cli.mdhas new output.Other changes:
uitree.Describe, asmaplabels: cleaned, bounded, never a password.findshares it.app_scroll_tois listed as device text under--mark-device-text.Measured
A sweep waited on the first 14 visible texts of each screen:
mainThe
mainruns covered only MobiumApp, plus Settings on iOS. They show the sweep can catch the defect, and are not a like-for-like count. The apps include Compose, SwiftUI, Flutter and third-party ones.All five clients and MCP took the empty ref on the Android emulator. A new section of
wait-states.shfails onmainon both devices and passes here.locators,feedandmobium-apppass on both, andtest-runneron Android.Not run on a real phone.