-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: setup detox json for support ios together android, not finished
- Loading branch information
1 parent
7bc1860
commit 712e66f
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
{ | ||
"testRunner": "jest", | ||
"runnerConfig": "e2e/config.json", | ||
"apps": { | ||
"ios.debug": { | ||
"type": "ios.app", | ||
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/poc_e2e.app", | ||
"build": "xcodebuild -project ios/poc_e2e.xcodeproj -UseNewBuildSystem=NO -scheme poc_e2e -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build" | ||
} | ||
}, | ||
"devices": { | ||
"simulator": { | ||
"type": "ios.simulator", | ||
"device": "iPhone 13" | ||
} | ||
}, | ||
"configurations": { | ||
"android.emu.debug": { | ||
"type": "android.attached", | ||
"name": "192.168.58.102:5555", | ||
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", | ||
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd .." | ||
}, | ||
"ios.sim.debug": { | ||
"app": "ios.debug", | ||
"device": "simulator" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters