Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

integration-smoke:
name: Integration Smoke
runs-on: macos-latest
runs-on: macos-26
timeout-minutes: 60
continue-on-error: true
steps:
Expand Down
33 changes: 31 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
integration-ios:
name: Integration Tests
runs-on: macos-latest
runs-on: macos-26
timeout-minutes: 80
continue-on-error: true
steps:
Expand Down Expand Up @@ -53,7 +53,36 @@ jobs:
run: pnpm build:xcuitest

- name: Wait for iOS simulator boot
run: xcrun simctl bootstatus "$IOS_UDID" -b
run: |
set -euo pipefail

wait_boot() {
local deadline=$(( $(date +%s) + 180 ))
while [ "$(date +%s)" -lt "$deadline" ]; do
if xcrun simctl list devices "$IOS_UDID" | grep -q "(Booted)"; then
return 0
fi
sleep 2
done
return 1
}

if wait_boot; then
exit 0
fi

echo "Initial simulator boot wait timed out; retrying boot once..."
xcrun simctl shutdown "$IOS_UDID" || true
xcrun simctl boot "$IOS_UDID" || true

if wait_boot; then
exit 0
fi

echo "Simulator failed to become ready after retry. Collecting diagnostics..."
xcrun simctl list devices || true
xcrun simctl list runtimes || true
exit 1

- name: Run iOS integration test
env:
Expand Down
2 changes: 1 addition & 1 deletion test/integration/ios.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test('ios settings commands', { skip: shouldSkipIos() }, async () => {
formatResultDebug('snapshot nodes', snapshotArgs, snapshot),
);

const clickArgs = ['click', '@e15', '--json', ...session];
const clickArgs = ['click', '@e21', '--json', ...session];
const click = runCliJson(clickArgs);
assert.equal(click.status, 0, formatResultDebug('click @e13', clickArgs, click));

Expand Down
Loading