a native ios client for gitbay

client ios swift

https://gitbay.org

v1.0.0: XCUITest smoke suite #5

closed cmc opened this on 2026-08-27 14:17

cmc 2026-08-27 14:17

Coordinate-based simulator driving proved fragile (tap mapping degrades mid-session; far edges become unreachable). The UI flows that matter — sign in, browse to a file, the MR review cycle, issue triage, create/edit sheets — should be an XCUITest suite driving accessibility identifiers instead, runnable headless in CI and as the pre-merge screenshot checkpoint.

  • Add a UI test target and accessibility identifiers to the interactive controls
  • Smoke flows: sign-in (stubbed instance), repo browse, MR list -> detail -> diff, issue create/edit, comment
  • Wire into the test plan; light/dark and smallest/largest-device screenshot capture

Blocks v1.0.0.

referenced in commit 530c076c61 by cmc: ui tests: live smoke flows by accessibility, compose autocorrect off

2026-08-27 14:33
cmc 2026-08-28 01:00

Closing. The suite covers the review cycle, repo management, discovery, releases, account and orgs, plus testScreenshotCheckpoint across iPhone 17e / 17 Pro / 17 Pro Max in both appearances. Two helpers carry the lessons that made failures look device-specific: selectTab taps until the tab reports front (a tap before the app is interactive is swallowed silently), and focusAndType waits for the keyboard before typing.

Not done here, deliberately: CI wiring. The suite writes to the live instance, so it is opt-in behind TEST_RUNNER_GITBAY_UITEST_LIVE=1 and needs a token and a signed-in simulator — that is a CI-credentials decision, not app work. File it separately if it should run on push.