Single-Machine sharding with iOS simulators, is it supported? #14693
Unanswered
bacarybruno
asked this question in
Q&A
Replies: 1 comment 2 replies
-
iOS makes it challenging to run multiple mobile tests in parallel on a single machine. As you already pointed out it requires multiple additional setup steps to get it working. There is nothing on the WebdriverIO side that would prevent any support for this. I think there is an opportunity within the Appium service to make this use case easier. Any contribution would be much appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Heyo all 👋
I’ve been experimenting with running sharded e2e tests on the same machine by booting multiple iOS simulators, but I couldn’t find an official way to do it. The sharding docs seem to focus on multi-machine setups.
I did manage to make it work, but it feels very hacky, and I’d love to know if there’s a better/official approach.
What I did:
WdioLauncher.process.env.UDID = 'xxx'before calling.run().appium:wdaLocalPortand Appium port per shard to avoid conflicts.Is single-machine sharding with iOS simulators officially supported?
Thanks! 🙏
Beta Was this translation helpful? Give feedback.
All reactions