@@ -26,7 +26,7 @@ When testing locally, we want to ensure that we start from a clean slate to avoi
26262 . Remove any temporary files from the ` react-native ` repo:
2727
2828 ``` bash
29- yarn test-e2e-local-clean
29+ yarn test-release-local-clean # On RN < 0.81- `yarn test- e2e-local-clean`
3030 ```
3131
32323 . Install dependencies:
@@ -45,7 +45,7 @@ We test on two apps
4545To generate the the right project with the specific configuration desired, you can use the command:
4646
4747``` bash
48- yarn test-e2e -local [options]
48+ yarn test-release -local [options] # On RN < 0.81- `yarn test-e2e-local`
4949```
5050
5151Followed by the options:
@@ -88,30 +88,33 @@ If you need to build React Native from source, you can skip the `-c` parameter.
8888
8989## Dimensions to test (RN >= 0.79)
9090
91+ > [ !Note]
92+ > On React Native ** ` < 0.81 ` ** ` test-release-local ` is called ` test-e2e-local `
93+
9194Here are the 4 dimensions we cover in manual testing:
9295
9396** 1. RNTester + iOS:**
9497
9598``` bash
96- yarn test-e2e -local -t " RNTester" -p " iOS" -c $GITHUB_TOKEN
99+ yarn test-release -local -t " RNTester" -p " iOS" -c $GITHUB_TOKEN
97100```
98101
99102** 2. RNTester + Android:**
100103
101104``` bash
102- yarn test-e2e -local -t " RNTester" -p " Android" -c $GITHUB_TOKEN
105+ yarn test-release -local -t " RNTester" -p " Android" -c $GITHUB_TOKEN
103106```
104107
105108** 3. RNTestProject + iOS:**
106109
107110``` bash
108- yarn test-e2e -local -t " RNTestProject" -p " iOS" -c $GITHUB_TOKEN
111+ yarn test-release -local -t " RNTestProject" -p " iOS" -c $GITHUB_TOKEN
109112```
110113
111114** 4. RNTestProject + Android**
112115
113116``` bash
114- yarn test-e2e -local -t " RNTestProject" -p " Android" -c $GITHUB_TOKEN
117+ yarn test-release -local -t " RNTestProject" -p " Android" -c $GITHUB_TOKEN
115118```
116119
117120## Dimensions to test (RN <= 0.78)
@@ -189,49 +192,52 @@ yarn test-e2e-local -t "RNTestProject" -p "Android" -h false -c $GITHUB_TOKEN
189192> [ !Tip]
190193> Make sure the remote assets are built on your release branch to use the ` -c ` option (highly recommended)
191194
195+ > [ !Note]
196+ > On React Native ** ` < 0.81 ` ** ` test-release-local ` is called ` test-e2e-local `
197+
192198``` bash
193- react-native$ yarn test-e2e -local-clean # alias this command to make your life easier to something like "clean"
199+ react-native$ yarn test-release -local-clean # alias this command to make your life easier to something like "clean"
194200
195201# RNTester
196202
197- react-native$ yarn test-e2e -local -t " RNTester" -p " iOS" --hermes true -c $GITHUB_TOKEN
203+ react-native$ yarn test-release -local -t " RNTester" -p " iOS" --hermes true -c $GITHUB_TOKEN
198204# verify tests "what to test"
199205# kill metro
200206xcrun simctl uninstall booted com.meta.RNTester.localDevelopment # delete RNTester from your iOS simulator
201207
202- react-native$ yarn test-e2e -local -t " RNTester" -p " iOS" --hermes false -c $GITHUB_TOKEN
208+ react-native$ yarn test-release -local -t " RNTester" -p " iOS" --hermes false -c $GITHUB_TOKEN
203209# verify tests "what to test"
204210# kill metro
205211xcrun simctl uninstall booted com.meta.RNTester.localDevelopment # delete RNTester from your iOS simulator
206212
207- react-native$ yarn test-e2e -local -t " RNTester" -p " Android" --hermes true -c $GITHUB_TOKEN
213+ react-native$ yarn test-release -local -t " RNTester" -p " Android" --hermes true -c $GITHUB_TOKEN
208214# verify tests "what to test"
209215# kill metro
210216adb uninstall com.facebook.react.uiapp # delete RNTester from your Android emulator
211217
212- react-native$ yarn test-e2e -local -t " RNTester" -p " Android" --hermes false -c $GITHUB_TOKEN
218+ react-native$ yarn test-release -local -t " RNTester" -p " Android" --hermes false -c $GITHUB_TOKEN
213219# verify tests "what to test"
214220# kill metro
215221adb uninstall com.facebook.react.uiapp # delete RNTester from your Android emulator
216222
217223# RNTestProject
218224
219- react-native$ yarn test-e2e -local -t " RNTestProject" -p " iOS" --hermes true -c $GITHUB_TOKEN
225+ react-native$ yarn test-release -local -t " RNTestProject" -p " iOS" --hermes true -c $GITHUB_TOKEN
220226# verify tests "what to test"
221227# kill metro
222228xcrun simctl uninstall booted org.reactjs.native.example.RNTestProject # delete RNTestProject from your iOS simulator
223229
224- react-native$ yarn test-e2e -local -t " RNTestProject" -p " iOS" --hermes false -c $GITHUB_TOKEN
230+ react-native$ yarn test-release -local -t " RNTestProject" -p " iOS" --hermes false -c $GITHUB_TOKEN
225231# verify tests "what to test"
226232# kill metro
227233xcrun simctl uninstall booted org.reactjs.native.example.RNTestProject # delete RNTestProject from your iOS simulator
228234
229- react-native$ yarn test-e2e -local -t " RNTestProject" -p " Android" --hermes true -c $GITHUB_TOKEN
235+ react-native$ yarn test-release -local -t " RNTestProject" -p " Android" --hermes true -c $GITHUB_TOKEN
230236# verify tests "what to test"
231237# kill metro
232238adb uninstall com.rntestproject # delete RNTestProject from your Android emulator
233239
234- react-native$ yarn test-e2e -local -t " RNTestProject" -p " Android" --hermes false -c $GITHUB_TOKEN
240+ react-native$ yarn test-release -local -t " RNTestProject" -p " Android" --hermes false -c $GITHUB_TOKEN
235241# verify tests "what to test"
236242# kill metro
237243adb uninstall com.rntestproject # delete RNTestProject from your Android emulator
0 commit comments