Browse Source

e2e on iPhone X

Daniel Zlotin 6 years ago
parent
commit
410b603a67
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      package.json
  2. 1
    1
      scripts/test.unit.ios.js

+ 2
- 2
package.json View File

@@ -118,13 +118,13 @@
118 118
         "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
119 119
         "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Debug -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet",
120 120
         "type": "ios.simulator",
121
-        "name": "iPhone SE"
121
+        "name": "iPhone X"
122 122
       },
123 123
       "ios.sim.release": {
124 124
         "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Release-iphonesimulator/playground.app",
125 125
         "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground_release -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Release -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet",
126 126
         "type": "ios.simulator",
127
-        "name": "iPhone SE"
127
+        "name": "iPhone X"
128 128
       },
129 129
       "android.emu.debug": {
130 130
         "binaryPath": "playground/android/app/build/outputs/apk/debug/app-debug.apk",

+ 1
- 1
scripts/test.unit.ios.js View File

@@ -24,7 +24,7 @@ function run() {
24 24
             -project playground.xcodeproj
25 25
             -sdk iphonesimulator
26 26
             -configuration ${conf}
27
-            -destination 'platform=iOS Simulator,name=iPhone 7'
27
+            -destination 'platform=iOS Simulator,name=iPhone X'
28 28
             -derivedDataPath ./DerivedData/playground
29 29
             ONLY_ACTIVE_ARCH=YES`);
30 30
 }