{
  "testRunner": "jest --forceExit --detectOpenHandles",
  "runnerConfig": "e2e/config.js",
  "configurations": {
    "ios.sim.debug": {
      "binaryPath": "../ios/Build/Products/Debug-iphonesimulator/Mattermost.app",
      "type": "ios.simulator",
      "device": {
        "type": "iPhone 11"
      }
    },
    "ios.sim.release": {
      "type": "ios.simulator",
      "binaryPath": "../ios/Build/Products/Release-iphonesimulator/Mattermost.app",
      "build": "cd ../fastlane && NODE_ENV=production bundle exec fastlane ios simulator && cd ../detox",
      "device": {
        "type": "iPhone 11"
      }
    },
    "android.emu.debug": {
      "type": "android.emulator",
      "binaryPath": "../android/app/build/outputs/apk/debug/app-debug.apk",
      "build": "cd .. && ./node_modules/.bin/jetify && cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ../detox",
      "device": {
        "avdName": "detox_emu_api_30"
      }
    },
    "android.emu.release": {
      "type": "android.emulator",
      "binaryPath": "../android/app/build/outputs/apk/release/app-release.apk",
      "build": "cd .. && ./node_modules/.bin/jetify && cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ../detox",
      "device": {
        "avdName": "detox_emu_api_30"
      }
    }
  },
  "artifacts": {
    "pathBuilder": "./e2e/path_builder.js"
  },
  "behavior": {
    "init": {
      "launchApp": false
    }
  }
}
