Skip to content

Commit a33e809

Browse files
committed
Bring back RNTester manual step
1 parent c833f41 commit a33e809

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

scripts/test-manual-e2e.sh

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -42,34 +42,34 @@ success "Generated artifacts for Maven"
4242

4343
npm install
4444

45-
# success "Killing any running packagers"
46-
# lsof -i :8081 | grep LISTEN
47-
# lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill
48-
49-
# info "Start the packager in another terminal by running 'npm start' from the root"
50-
# info "and then press any key."
51-
# info ""
52-
# read -n 1
53-
54-
# ./gradlew :RNTester:android:app:installJscDebug || error "Couldn't build RNTester Android"
55-
56-
# info "Press any key to run RNTester in an already running Android emulator/device"
57-
# info ""
58-
# read -n 1
59-
# adb shell am start -n com.facebook.react.uiapp/.RNTesterActivity
60-
61-
# info "Press any key to open the workspace in Xcode, then build and test manually."
62-
# info ""
63-
# read -n 1
64-
# open "RNTester/RNTesterPods.xcworkspace"
65-
66-
# info "When done testing RNTester app on iOS and Android press any key to continue."
67-
# info ""
68-
# read -n 1
69-
70-
# success "Killing packager"
71-
# lsof -i :8081 | grep LISTEN
72-
# lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill
45+
success "Killing any running packagers"
46+
lsof -i :8081 | grep LISTEN
47+
lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill
48+
49+
info "Start the packager in another terminal by running 'npm start' from the root"
50+
info "and then press any key."
51+
info ""
52+
read -n 1
53+
54+
./gradlew :RNTester:android:app:installJscDebug || error "Couldn't build RNTester Android"
55+
56+
info "Press any key to run RNTester in an already running Android emulator/device"
57+
info ""
58+
read -n 1
59+
adb shell am start -n com.facebook.react.uiapp/.RNTesterActivity
60+
61+
info "Press any key to open the workspace in Xcode, then build and test manually."
62+
info ""
63+
read -n 1
64+
open "RNTester/RNTesterPods.xcworkspace"
65+
66+
info "When done testing RNTester app on iOS and Android press any key to continue."
67+
info ""
68+
read -n 1
69+
70+
success "Killing packager"
71+
lsof -i :8081 | grep LISTEN
72+
lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill
7373

7474
npm pack
7575

0 commit comments

Comments
 (0)