Skip to content

speedrun v0.4.16

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 03:47
· 1 commit to main since this release

macOS arm64 and Linux x86_64, for Android, iOS simulators (the iOS agent was built with Xcode 27.0), Chrome and Firefox.

  • Android: scrollUntilVisible scrolls 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: hideKeyboard presses 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, hideKeyboard does nothing. This works with any keyboard app, not only Gboard.
  • Android: the tap after hideKeyboard reaches a React Native ScrollView (#26). When the keyboard goes after hideKeyboard has settled, speedrun now waits for the app again. Until React Native has heard the keyboard go, a ScrollView takes 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 extendedWaitUntil looks 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 next assertVisible had 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.