You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -51,38 +51,31 @@ By default, Xcode uses a randomized hidden path for outputting project build art
51
51
52
52
* The resulting `package.json` should look something like [this](demo-react-native/package.json).
53
53
54
-
#### Step 3: Integrate Detox in Your Project
55
-
56
-
* Make sure your Project schemes are shared. Open you project in Xcode, select menu `Product` ► `Scheme` ► `Manage Schemes...`, and check the `Shared Scheme` checkbox next to schemes that are part of the project. There is no need to do this for library schemes. Note the scheme you would like to use Detox with.
57
-
* In your root folder, run `node_modules/detox/scripts/deploy_detox.rb <Path To>/YourProject.xcodeproj`.
58
-
* Notice the new scheme(s) added in your Xcode project. If you had a `YourProject` scheme before, now there is an analogous `YourProject_Detox` scheme.
59
-
* Make sure to add the new schema files to your source control (e.g. `git add ios/MyProject.xcodeproj/xcshareddata/xcschemes/Release_Detox.xcscheme`)
60
-
61
-
#### Step 4: Prepare the E2E Folder for Your Tests
54
+
#### Step 3: Prepare the E2E Folder for Your Tests
62
55
63
56
* Create an `e2e` folder in your project root and open it.
64
57
* Create `mocha.opts` file with this [content](demo-react-native/e2e/mocha.opts).
65
58
* Create `init.js` file with this [content](demo-react-native/e2e/init.js).
66
59
* Create your first test! `myFirstTest.spec.js` with content similar to [this](demo-react-native/e2e/example.spec.js).
67
60
68
-
#### Step 5: Build Your Project
61
+
#### Step 4: Build Your Project
69
62
70
-
* Build your project with a newly created `_Detox` scheme:
0 commit comments