Repository navigation
macOS arm64 and Linux x86_64, for Android, iOS simulators (the iOS agent was built with Xcode 27.0), Chrome and Firefox.
- Android:
scrollUntilVisiblescrolls right after a dialog closes (#25). While a dialog such as Android's date picker is up, Android leaves the app's window out of what a test tool reads, and speedrun took the screen to be as tall as the dialog. A scroll started as the dialog closed dragged from the middle of the dialog for its whole run, and on a screen with a part pinned above its list, nothing scrolled. Speedrun now takes the screen's size from the device. This also fixes percentage swipes and taps made while a dialog is up. A drag that moves nothing is now placed again from the screen's center. - Android:
hideKeyboardpresses Back only when a keyboard is up (#26). With no keyboard up, its Back took the app back a screen. A keyboard still coming up for a field that has the focus is waited for, up to 1.5 s; with none,hideKeyboarddoes nothing. This works with any keyboard app, not only Gboard. - Android: the tap after
hideKeyboardreaches a React NativeScrollView(#26). When the keyboard goes afterhideKeyboardhas settled, speedrun now waits for the app again. Until React Native has heard the keyboard go, aScrollViewtakes the next tap as the one that dismisses the keyboard, and the tap was lost. This also applies to a tap that hides the keyboard first. - A check or a tap right after a long
extendedWaitUntillooks for its element for at least 1 s (#27). The 17 s of a lookup count from the last step that touched the app, so after a long wait the nextassertVisiblehad no time left and read the screen once, in about 10 ms. A screen that drew once more after its data came then failed the check. This adds time only when the element is not there. The flow docs now explain how the timeouts count.
To update: speedrun update, or brew upgrade speedrun if you installed with Homebrew.