mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
ci(folio): let the ios leg clear state for itself
This commit is contained in:
1 parent
7a28e8c4e6
commit
ca454483e1
1 file changed
+5
-8
@@ -28,15 +28,12 @@ case "$platform" in
|
|||||||
examples/folio/app/androidApp/build/outputs/apk/debug/androidApp-debug.apk)
|
examples/folio/app/androidApp/build/outputs/apk/debug/androidApp-debug.apk)
|
||||||
;;
|
;;
|
||||||
ios)
|
ios)
|
||||||
# --clear-data=false because the caller has just installed a fresh build (a
|
# Clear state is left at its default, and no --ios-app-path is passed, so
|
||||||
# freshly installed app IS clear state). The in-run reinstall path is worth
|
# the driver wipes the app's data container rather than reinstalling. That
|
||||||
# avoiding here: `simctl uninstall` + `install` immediately followed by the
|
# is what the calibrated numbers were measured from, and it keeps the run
|
||||||
# XCTest runner's own launch hits "app.folio is unknown to FrontBoard"
|
# away from the `simctl uninstall` + `install` path that races FrontBoard
|
||||||
# perhaps half the time. The launch RPC is bounded now, so that surfaces
|
# ("app.folio is unknown to FrontBoard"), which needs an app path to reach.
|
||||||
# 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.
|
|
||||||
folio_args+=(--platform ios
|
folio_args+=(--platform ios
|
||||||
--clear-data=false
|
|
||||||
--ios-device "${IOS_DEVICE:-iPhone 16 Pro}")
|
--ios-device "${IOS_DEVICE:-iPhone 16 Pro}")
|
||||||
;;
|
;;
|
||||||
web)
|
web)
|
||||||
|
|||||||
Reference in new issue
Block a user