fix: read Android get text from target field - #1561
Conversation
Size Report
Startup median (7 runs, lower is better):
Top changed chunks: no changes in the largest emitted chunks. |
|
Reviewed exact head The production route is covered end to end: The regression is non-vacuous at both levels: reverting the implementation breaks the two-field hierarchy test, and the Android smoke scenario fills name then email (leaving email focused) before asserting each selector’s top-level Residual risk is limited to emulator rather than physical-device evidence; this focused correctness fix does not need docs changes. |
|
Summary
Fix Android
get text <selector>so the top-leveldata.textis read from the resolved target field instead of the currently focused sibling.Android point reads now return the text of the node containing the requested coordinates. Fill verification keeps its separate focused-input and IME handling. Regression coverage fills two distinct EditText fields and asserts each selector returns its own top-level text value.
Validation
VITEST_MAX_WORKERS=2 pnpm check:affected --runpassed formatting, lint, typecheck, layering, Fallow, build, and all 1,419 related tests.