BlueWallet/.detoxrc.json
2026-03-16 21:13:23 +00:00

83 lines
2.2 KiB
JSON

{
"testRunner": {
"$0": "jest",
"args": {
"config": "tests/e2e/jest.config.js",
"_": ["e2e"]
}
},
"apps": {
"ios.debug": {
"type": "ios.app",
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/BlueWallet.app",
"build": "xcodebuild -workspace ios/BlueWallet.xcworkspace -scheme BlueWallet -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build"
},
"ios.release": {
"type": "ios.app",
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/BlueWallet.app",
"build": "npx react-native codegen && xcodebuild -workspace ios/BlueWallet.xcworkspace -scheme BlueWallet -configuration Release -sdk iphonesimulator -derivedDataPath ios/build"
},
"android.debug": {
"type": "android.apk",
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd .."
},
"android.release": {
"type": "android.apk",
"testBinaryPath": "android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk",
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "./tests/e2e/detox-build-release-apk.sh"
}
},
"devices": {
"simulator": {
"type": "ios.simulator",
"device": {
"type": "iPhone 17"
}
},
"emulator": {
"type": "android.emulator",
"device": {
"avdName": "Pixel_API_29_AOSP"
}
}
},
"configurations": {
"ios.debug": {
"device": "simulator",
"app": "ios.debug"
},
"ios.release": {
"device": "simulator",
"app": "ios.release"
},
"android.debug": {
"device": "emulator",
"app": "android.debug"
},
"android.debug.device": {
"device": {
"device": {
"adbName": ".*"
},
"type": "android.attached"
},
"app": "android.debug"
},
"android.release.device": {
"device": {
"device": {
"adbName": ".*"
},
"type": "android.attached"
},
"app": "android.release"
},
"android.release": {
"device": "emulator",
"app": "android.release"
}
}
}