Skip to content

Commit 0ded846

Browse files
committed
e2e: fabric
1 parent 03937a7 commit 0ded846

File tree

3 files changed

+2498
-75
lines changed

3 files changed

+2498
-75
lines changed

e2e/.detoxrc.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ module.exports = {
2424
build:
2525
"xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ../example/ios/KeyboardControllerExample.xcworkspace -scheme KeyboardControllerExample -configuration Release -sdk iphonesimulator -derivedDataPath ../example/ios/build",
2626
},
27+
"example-fabric.ios.release": {
28+
type: "ios.app",
29+
binaryPath:
30+
"../FabricExample/ios/build/Build/Products/Release-iphonesimulator/KeyboardControllerFabricExample.app",
31+
build:
32+
"xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ../FabricExample/ios/KeyboardControllerFabricExample.xcworkspace -scheme KeyboardControllerFabricExample -configuration Release -sdk iphonesimulator -derivedDataPath ../FabricExample/ios/build",
33+
},
2734
"example.android.debug": {
2835
type: "android.apk",
2936
binaryPath:
@@ -114,6 +121,10 @@ module.exports = {
114121
device: "simulator17",
115122
app: "example.ios.release",
116123
},
124+
"example-fabric.ios.sim-17.release": {
125+
device: "simulator17",
126+
app: "example-fabric.ios.release",
127+
},
117128
"example.ios.sim-18.debug": {
118129
device: "simulator18",
119130
app: "example.ios.debug",

e2e/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
"test-example:android-28": "detox test --configuration example.android.emu-28.release --loglevel verbose --take-screenshots failing --record-videos failing --retries 2",
99
"test-example:android-31": "detox test --configuration example.android.emu-31.release --loglevel verbose --take-screenshots failing --record-videos failing --retries 2",
1010
"build-example:ios": "detox build --configuration example.ios.sim-17.release",
11+
"build-example-fabric:ios": "detox build --configuration example-fabric.ios.sim-17.release",
1112
"test-example:ios-15": "detox test --configuration example.ios.sim-15.release --loglevel verbose --take-screenshots failing --record-videos failing --retries 2",
1213
"test-example:ios-16": "detox test --configuration example.ios.sim-16.release --loglevel verbose --take-screenshots failing --record-videos failing --retries 2",
1314
"test-example:ios-17": "detox test --configuration example.ios.sim-17.release --loglevel verbose --take-screenshots failing --record-videos failing --retries 2",
15+
"test-example-fabric:ios-17": "detox test --configuration example-fabric.ios.sim-17.release --loglevel verbose --take-screenshots failing --record-videos failing --retries 2",
1416
"test-example:ios-18": "detox test --configuration example.ios.sim-18.release --loglevel verbose --take-screenshots failing --record-videos failing --retries 2",
1517
"test": "echo \"Error: no test specified\" && exit 1",
1618
"detox-clean": "detox clean-framework-cache && detox build-framework-cache",
@@ -35,7 +37,7 @@
3537
"@types/pngjs": "^6.0.1",
3638
"async-retry": "^1.3.3",
3739
"colors": "^1.4.0",
38-
"detox": "20.31.0",
40+
"detox": "20.36.0",
3941
"jest": "^29",
4042
"patch-package": "^8.0.0",
4143
"pixelmatch": "^5.3.0",

0 commit comments

Comments
 (0)