ci(folio): let the ios leg clear state for itself

This commit is contained in:
pj committed 2026-08-15 18:52:58 +05:30
1 parent 7a28e8c4e6
commit ca454483e1
1 file changed
+5 -8
+5 -8
View File
@@ -28,15 +28,12 @@ case "$platform" in
examples/folio/app/androidApp/build/outputs/apk/debug/androidApp-debug.apk)
;;
ios)
# --clear-data=false because the caller has just installed a fresh build (a
# freshly installed app IS clear state). The in-run reinstall path is worth
# avoiding here: `simctl uninstall` + `install` immediately followed by the
# XCTest runner's own launch hits "app.folio is unknown to FrontBoard"
# perhaps half the time. The launch RPC is bounded now, so that surfaces
# as an error rather than an indefinite hang, but a failed leg is still a
# failed leg and a fresh install is already clear state.
# Clear state is left at its default, and no --ios-app-path is passed, so
# the driver wipes the app's data container rather than reinstalling. That
# is what the calibrated numbers were measured from, and it keeps the run
# away from the `simctl uninstall` + `install` path that races FrontBoard
# ("app.folio is unknown to FrontBoard"), which needs an app path to reach.
folio_args+=(--platform ios
--clear-data=false
--ios-device "${IOS_DEVICE:-iPhone 16 Pro}")
;;
web)