{ "testRunner": { "$0": "jest", "args": { "config": "e2e/config.js" } }, "apps": { "ios.debug": { "type": "ios.app", "binaryPath": "../mobile-artifacts/Mattermost.app" }, "ios.release": { "type": "ios.app", "binaryPath": "../ios/Build/Products/Release-iphonesimulator/Mattermost.app", "build": "cd .. && npm run build:ios-sim && cd detox" }, "android.debug": { "type": "android.apk", "binaryPath": "../android/app/build/outputs/apk/debug/app-debug.apk", "build": "cd .. && ./node_modules/.bin/jetify && cd android && ./gradlew clean && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ../detox" }, "android.release": { "type": "android.apk", "binaryPath": "../android/app/build/outputs/apk/release/app-release.apk", "build": "cd .. && ./node_modules/.bin/jetify && cd android && ./gradlew clean && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ../detox" } }, "devices": { "ios.simulator": { "type": "ios.simulator", "device": { "type": "__DEVICE_NAME__", "os": "__DEVICE_OS_VERSION__" } }, "android.emulator": { "type": "android.emulator", "device": { "avdName": "detox_pixel_4_xl_api_34" } } }, "configurations": { "ios.sim.debug": { "device": "ios.simulator", "app": "ios.debug" }, "ios.sim.release": { "device": "ios.simulator", "app": "ios.release" }, "android.emu.debug": { "device": "android.emulator", "app": "android.debug" }, "android.emu.release": { "device": "android.emulator", "app": "android.release" } }, "artifacts": { "pathBuilder": "./e2e/path_builder.js", "plugins": { "screenshot": { "shouldTakeAutomaticSnapshots": true, "keepOnlyFailedTestsArtifacts": true }, "video": { "enabled": false }, "log": { "enabled": true } } }, "behavior": { "init": { "reinstallApp": true, "launchApp": false }, "cleanup": { "shutdownDevice": false } }, "session": { "sessionId": "mobile-test-session", "debugSynchronization": 5000, "autoStart": true }, "visibility": { "threshold": 75 } }