Skip to content

Add --wda-bundle-id flag for custom WDA bundle identifier#48

Open
omnarayan wants to merge 4 commits intomainfrom
feature/wda-bundle-id
Open

Add --wda-bundle-id flag for custom WDA bundle identifier#48
omnarayan wants to merge 4 commits intomainfrom
feature/wda-bundle-id

Conversation

@omnarayan
Copy link
Copy Markdown
Contributor

Summary

  • Add --wda-bundle-id CLI flag to specify a custom WDA bundle identifier for code signing on iOS
  • When provided, PRODUCT_BUNDLE_IDENTIFIER is passed to xcodebuild, overriding the default com.facebook.WebDriverAgentRunner
  • Build cache includes the bundle ID to avoid collisions between different configs
  • Also supports MAESTRO_WDA_BUNDLE_ID environment variable

Usage

maestro-runner --platform ios --team-id ABCDE12345 \
  --wda-bundle-id com.myteam.WebDriverAgentRunner \
  --device <UDID> test flow.yaml

Test plan

  • go build ./... passes
  • go test ./pkg/driver/wda/... ./pkg/cli/... passes
  • E2E on iOS simulator without --wda-bundle-id — 9/9 pass (uses cached default build)
  • E2E on iOS simulator with --wda-bundle-id com.devicelab.WebDriverAgentRunner — 9/9 pass (fresh build, separate cache)

Closes #41

Thanks to @Ma-Jiehui for reporting this issue.

Enable --parallel N for the Appium driver. All N sessions hit the same
Appium URL with identical capabilities — the server (local or cloud)
allocates devices. Cloud providers (Sauce Labs, BrowserStack) get
per-session result reporting.

Changes:
- determineExecutionMode: generate virtual IDs for Appium (like browser)
- createAppiumWorkers: create N sessions against same URL
- executeAppiumParallel: orchestrate workers via existing ParallelRunner
- Per-worker cloud provider detection and reporting
- Remove "parallel not yet supported" error for Appium
Don't create more Appium sessions than there are flows to run.
With --parallel 3 and 2 flows, only 2 sessions are created instead
of wasting a third device.
Allow users to specify a custom WDA bundle ID for code signing on iOS.
When provided, PRODUCT_BUNDLE_IDENTIFIER is passed to xcodebuild,
overriding the default com.facebook.WebDriverAgentRunner. Build cache
includes the bundle ID to avoid collisions between different configs.

Closes #41

Reported-by: Ma-Jiehui <https://github.com/Ma-Jiehui>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] custom WDA bundle id

1 participant