Simplify manual testing steps when doing the release
Summary:Quite a few of these steps are now tested automatically on Android thanks to bestander. **Test plan** Just visual inspection of the code :) Closes https://github.com/facebook/react-native/pull/7037 Differential Revision: D3191678 fb-gh-sync-id: 54702a772c5c149bdd3f05d6f4ca257bc6f27090 fbshipit-source-id: 54702a772c5c149bdd3f05d6f4ca257bc6f27090
This commit is contained in:
parent
20cae51a8f
commit
5bb6926e40
|
@ -52,9 +52,16 @@ grep -E "com.facebook.react:react-native:\\+" "${project_name}/android/app/build
|
|||
|
||||
success "New sample project generated at /tmp/${project_name}"
|
||||
|
||||
info "Test the following both on Android and iOS:"
|
||||
info " - Verify that packager opens in new Window"
|
||||
info " - Verify that you see the 'Welcome to React Native' screen"
|
||||
info "Test the following on Android:"
|
||||
info " - Disable Hot Reloading. It might be enabled from last time (the setting is stored on the device)"
|
||||
info " - Verify 'Reload JS' works"
|
||||
info ""
|
||||
info "Press any key to run the sample in Android emulator/device"
|
||||
info ""
|
||||
read -n 1
|
||||
cd "/tmp/${project_name}" && react-native run-android
|
||||
|
||||
info "Test the following on iOS:"
|
||||
info " - Disable Hot Reloading. It might be enabled from last time (the setting is stored on the device)"
|
||||
info " - Verify 'Reload JS' works"
|
||||
info " - Test Chrome debugger by adding breakpoints and reloading JS. We don't have tests for Chrome debugging."
|
||||
|
@ -62,12 +69,6 @@ info " - Disable Chrome debugging."
|
|||
info " - Enable Hot Reloading, change a file (index.ios.js, index.android.js) and save. The UI should refresh."
|
||||
info " - Disable Hot Reloading."
|
||||
info ""
|
||||
|
||||
info "Press any key to run the sample in Android emulator/device"
|
||||
info ""
|
||||
read -n 1
|
||||
cd "/tmp/${project_name}" && react-native run-android
|
||||
|
||||
info "Press any key to open the project in XCode"
|
||||
info ""
|
||||
read -n 1
|
||||
|
|
Loading…
Reference in New Issue