Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 5.04 KB

CHANGELOG.md

File metadata and controls

16 lines (14 loc) · 5.04 KB

Changelog

Unreleased

  • Add uninstall <app> and client.apps.uninstall({ app }) to remove an installed app on adb-backed Android targets, iOS simulators, and CoreDevice iOS devices. Both report wasInstalled. A package name or bundle id that is not installed succeeds with wasInstalled: false. Other targets, Appium and Limrun sessions included, refuse it before anything runs.
  • Add settings mobile-data on|off for adb-backed Android targets. It switches mobile data through svc data and reports the mobileData state stored in the global mobile_data row; multi-SIM read-back is not covered yet. Every other target refuses it before anything runs, and --app is refused because the switch is device-wide.
  • On iOS, a fill that runs under a degraded XCTest snapshot channel now aims at a point, including ref, selector and replay fills. When the runner identifies no text input under that point, it refuses with NO_TEXT_INPUT_AT_POINT (error.details.reason: no_text_input_at_point, dispatched: no) before dispatching its focus tap, and no field changes; when the input lookup itself cannot answer, it refuses with TEXT_INPUT_PROBE_UNAVAILABLE (error.details.reason: text_input_probe_unavailable). Previously such a fill cleared and typed through the app-level first responder, so it could rewrite a field the caller never named, or report a clear failure after emptying it. A ref or selector fill whose rect centre misses the real field (an outer container, a non-input node) now needs a point inside the input's own rect.
  • Opening a macOS app by bundle identifier now waits briefly when the app is already running but not yet registered with LaunchServices — the case when a supervisor or dev script started it directly — and if registration arrives within that bounded window the open attaches to the running copy, so the session drives the app the caller started, with its arguments. A copy still unlisted when the window closes gets the plain open as before, which can still duplicate; the wait only bounds the race, it does not close it. Launching an app that is not running costs one extra LaunchServices lookup and one process-table read, plus one bundle-identifier read when app-shaped processes exist.
  • Limrun iOS snapshots no longer fail when the instance reports a numeric or boolean accessibility value (the system photo picker's tabs report 1/0): the provider seam normalizes variant scalars to text, the way the Apple tree does. Limrun nodes now also publish selected: true for nodes carrying the Selected trait, so snapshot output and selected: selectors can tell a picked photo from an unpicked one.
  • settings refuses a setting the target does not serve before anything changes, with UNSUPPORTED_OPERATION, settings <setting> is not supported on this device, and the target's error.details.reason (such as unsupported-platform-leaf). This replaces the macOS INVALID_ARGS refusal and the Apple setting-unsupported-on-leaf reason, and now also covers settings that used to reach the device first, such as Android reset-keychain or Apple animations.
  • settings refuses, before touching the device, a state its setting does not accept (Invalid <setting> state: …), a permission action or mode its target does not take (such as permission deny accessibility), and a stray extra argument (such as clear-app-state <app> <extra>). The CLI and the daemon accept the same state spellings, in any casing or surrounding whitespace.
  • alert wait 0 on Android reports an alert that is already visible instead of timing out.
  • settings --help describes each setting on its own line, and its usage folds settings that share a form.
  • Added (android): telephony call|accept|cancel <number> and telephony sms <number> <text>, plus client.command.telephony({ action, number, text }), simulate an incoming phone call or SMS on an Android emulator through the emulator console (adb emu gsm …, adb emu sms send …), so a test can check how an app behaves when a call or message interrupts it, such as video playback pausing and resuming. The number must be up to 15 digits with an optional leading +; SMS text is sent as one adb argument, with backslashes and line breaks escaped for the console; the emulator drops characters outside the Basic Multilingual Plane, such as emoji. A console refusal (for example accept for a number with no call) fails with COMMAND_FAILED and reason: telephony-console-refused. Physical Android devices, iOS, every other target, and the WebDriver (Appium) and Limrun providers refuse with UNSUPPORTED_OPERATION.
  • fold on Android emulators: the posture and hinge-angle console calls now time out after 10 s instead of waiting on a console that stopped answering, and a failed call names only its first two words (for example adb emu sensor get).
  • Carry provider keyboard facts through snapshots. Appium captures, including wait polls and fill pre-captures, add one sequential keyboard visibility probe with a 500 ms timeout. Probe results preserve tap-time docked-tree checks; unavailable probes leave visibility unknown.