Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run Detox tests on AWS Device Farm?

I have automated UI tests for React Native using Detox and they run fine on my local machine. I want to use AWS Device Farm service to run parallel tests in the cloud. AWS announced that they already added support for Detox.

However, when I configure my test on Device Farm, it does not show me option for Detox, but only for "Appium Node.js".

I expect for the tests to at least run, and see the app at least opening in the video artifacts. But instead, I get all failed and no activity in the video.

like image 866
Sargon saadi Avatar asked Jan 28 '26 19:01

Sargon saadi


1 Answers

Getting Detox to work on Device Farm would take a concentrated effort on our customer’s part, potentially several full weeks of time, with no guarantee of success. As noted here (https://github.com/wix/detox/issues/95), it can be difficult getting Detox tests to run on real devices in the first place. Additionally, it’s possible that the Xcode libraries required by Detox won’t be available on the iOS device farm host.

Finally, getting Detox to use pre-existing apps on the device that we pre-sign using the device farm signature could introduce another impossible hurdle.

like image 131
Tobe-AWS Avatar answered Jan 31 '26 12:01

Tobe-AWS



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!