diff --git a/artifacts__detoxtest_2024-10-15_10-04-31.tar.gz b/artifacts__detoxtest_2024-10-15_10-04-31.tar.gz new file mode 100644 index 0000000000..3f0ce7c2cc Binary files /dev/null and b/artifacts__detoxtest_2024-10-15_10-04-31.tar.gz differ diff --git a/docs/contributing/code/building-and-testing.md b/docs/contributing/code/building-and-testing.md index d354bb12d5..c363ed71cc 100644 --- a/docs/contributing/code/building-and-testing.md +++ b/docs/contributing/code/building-and-testing.md @@ -78,6 +78,13 @@ cd detox/test detox test --configuration ios.sim.release ``` +:::note + +Mind that on iOS, Detox expects a specific simulator device with a specific name and os version to be available in your Xcode environment. +The required details are specified in the [detox.config.js](https://github.com/wix/Detox/blob/master/detox/test/e2e/detox.config.js) under `ios.simulator` device configuration (see `type` and `os`). Be sure to [install such a device](https://developer.apple.com/documentation/safari-developer-tools/adding-additional-simulators), beforehand. + +::: + To run in Android release mode, run: ```bash @@ -87,7 +94,8 @@ detox test --configuration android.emu.release :::note -Mind that on Android, Detox expects a specific AVD with a [specific name](https://github.com/wix/Detox/blob/24f68c3bd7675ed6f508e3f5fea97509eb7991b2/detox/test/e2e/detox.config.js#L111) to be available on your computer. +Mind that on Android, Detox expects a specific AVD with a specific name to be available on your computer. +The required details are specified in the [detox.config.js](https://github.com/wix/Detox/blob/master/detox/test/e2e/detox.config.js) under `android.emulator` device configuration (see `avdName`). Be sure to [install such an AVD](https://developer.android.com/studio/run/managing-avds#createavd), beforehand. ::: diff --git a/package.json b/package.json index b8f6d6f10b..e957344418 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "test:e2e:android": "pushd detox/test && npm run e2e:android && popd", "release": "node scripts/ci.release.js", "package:android": "node scripts/ci.android-release.js", - "package:ios": "scripts/ci.ios-release.sh" + "package:ios": "scripts/ci.ios-release.sh", + "ci.ios": "sh ./scripts/ci.ios.sh", + "ci.android": "sh ./scripts/ci.android.sh" }, "repository": { "type": "git",