feat(cli): add --android-app-path for clear-state reinstall

Wires the APK path from the test command through to the sidecar client so
Android clear-state can reset apps on OEM builds that deny pm clear.
This commit is contained in:
pj committed 2026-06-10 15:20:41 +05:30
1 parent 015f619693
commit 921ecb910e
4 files changed
+33 -28

No files matched your search

+12 -11
View File
@@ -22,17 +22,18 @@ const sidecarStartupTimeout = 30 * time.Second
// Options are the parameters for a single test pipeline run.
type Options struct {
Spec string
BundleID string
Platform string
AVD string
Device string
IosDevice string
IosAppPath string
Duration time.Duration
Seed int64
Output string
ClearData bool
Spec string
BundleID string
Platform string
AVD string
Device string
IosDevice string
IosAppPath string
AndroidAppPath string
Duration time.Duration
Seed int64
Output string
ClearData bool
// iosUDID, iosIsSimulator, and iosCoreDeviceID are filled by Execute after
// resolving the iOS target, then read by buildDriver to choose the simulator