-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdetox.config.js
102 lines (102 loc) · 2.94 KB
/
detox.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
module.exports = {
"testRunner": "jest",
"runnerConfig": 'e2e/config.json',
"specs": 'e2e/tests',
"behavior": {
"init": {
"exposeGlobals": process.env.DETOX_EXPOSE_GLOBALS === '0' ? false : true,
},
},
"apps": {
"ios.debug": {
"type": "ios.app",
"binaryPath": "./ios/debug/todo.app",
},
"ios.release": {
"type": "ios.app",
"binaryPath": "./ios/release/todo.app",
},
"android.release": {
"type": "android.apk",
"binaryPath": "../demo-react-native/android/app/build/outputs/apk/release/app-release.apk",
}
},
"devices": {
"simulator": {
"type": "ios.simulator",
"device": {
"type": "iPhone 14",
"os": "iOS 16.0"
}
},
"emulator": {
"type": "android.emulator",
"device": {
"avdName": "Pixel_API_28"
},
utilBinaryPaths: [
"./cache/test-butler-app.apk"
],
},
"genymotion.emulator.uuid": {
"type": "android.genycloud",
"device": {
"recipeUUID": "a50a71d6-da90-4c67-bdfa-5b602b0bbd15"
},
utilBinaryPaths: [
"./cache/test-butler-app.apk"
],
},
"genymotion.emulator.name": {
"type": "android.genycloud",
"device": {
"recipeName": "Detox_Pixel_API_29"
},
utilBinaryPaths: [
"./cache/test-butler-app.apk"
],
}
},
"configurations": {
"ios.sim.debug": {
"device": "simulator",
"app": "ios.debug",
"artifacts": {
// Do not use in your projects unless you really need custom paths.
// This section serves just as an example that you can locally override
// some artifacts, behavior and session settings
"pathBuilder": "./e2e/detox.pathbuilder.ios.js"
}
},
"ios.sim.release": {
"device": "simulator",
"app": "ios.release",
"artifacts": {
// Do not use in your projects unless you really need custom paths.
// This section serves just as an example that you can locally override
// some artifacts, behavior and session settings
"pathBuilder": "./e2e/detox.pathbuilder.ios.js"
}
},
"android.emu.release": {
"device": "emulator",
"app": "android.release",
"artifacts": {
// Do not use in your projects unless you really need custom paths.
// This section serves just as an example that you can locally override
// some artifacts, behavior and session settings
"pathBuilder": "./e2e/detox.pathbuilder.android.js"
}
},
"android.genycloud.release": {
"device": "genymotion.emulator.uuid",
"app": "android.release",
"artifacts": {
// Do not use in your projects unless you really need custom paths.
// This section serves just as an example that you can locally override
// some artifacts, behavior and session settings
"pathBuilder": "./e2e/detox.pathbuilder.android.js"
}
}
}
};