Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 11:56
· 4 commits to main since this release
46a45b3
uses: github.com/mozership/probe-ios@aed5436143e9536754e2123b953831f60cd635eb # v0.2.0

Highlights

  • A key an action does not take is refused (#2). A key of an entry of actions that no action takes, such as a misspelt selector, went unread, so the step ran without it. It now fails the step before anything runs, with the keys an action takes:
actions[0]: an action takes no selecter; it takes name, id, selector, value, args
  • An element that does not come fails with the reason on a slow simulator (#2). XCUITest waits for the app to be idle before it looks for an element, which took a minute on a simulator just booted in CI. The runner's answer came after the deadline of the actions, and the step failed with the deadline of the HTTP request instead:
actions[0] tap: the step's timeout ran out: Post "http://127.0.0.1:49986/command": context deadline exceeded

An action on an element now waits up to a minute past timeout for the runner's answer, and fails with it:

actions[0] tap: no element matches label=No Such Row within 4.5s
  • The runner ends its test before it is stopped (#2). The runner took the shutdown at the end of a run only after the command it was running, so the cleanup gave up after two seconds and stopped xcodebuild by force, and the simulator was found shut down after it. The runner now takes the shutdown at once and ends its test after the command, and the cleanup waits up to a minute for it to exit.

Changed behavior

  • A workflow with a key an action does not take in an entry of actions now fails, where it ran before.
  • An action on an element that timeout runs out on can take up to a minute longer, for the runner's answer. No action starts once timeout is past.
  • The runner is built again on the first run after the update, as its source changed.

Testing

  • The CI launches Settings once after the simulator boots, and leaves it a minute to settle.

See the README.

Changelog

  • 56c82da Keep cleanup in the action.yml a release writes
  • 298aea5 Let a runner end its test before it is stopped
  • 9e8d99c Merge pull request #1 from mozership/fix/release-cleanup
  • 46a45b3 Merge pull request #2 from mozership/feat/unknown-action-keys
  • e367525 Point action.yml at v0.1.0
  • 667e472 Refuse a key an entry of actions does not take
  • 9434f99 Wait a little past the deadline for the runner's answer
  • 31f6f93 Wait up to a minute for the runner's answer