XCUIApplication.launch() fails to activate the app on headless CI runners, reporting "Failed to activate application (current state: Running Background)". With continueAfterFailure=false, this kills the test before ensureForegroundAfterLaunch can retry. Fix by temporarily setting continueAfterFailure=true around launch(), then retrying activation via app.activate(). Also add a retry loop in the CI workflow since foreground activation is inherently flaky on headless runners. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| build-ghosttykit.yml | ||
| ci-macos-compat.yml | ||
| ci.yml | ||
| claude.yml | ||
| nightly.yml | ||
| release.yml | ||
| test-depot.yml | ||
| test-e2e.yml | ||
| update-homebrew.yml | ||