From a33e809d7b541c377bbe724750a20ebd8e78ae01 Mon Sep 17 00:00:00 2001 From: grabbou Date: Wed, 25 Sep 2019 13:05:12 +0200 Subject: [PATCH] Bring back RNTester manual step --- scripts/test-manual-e2e.sh | 44 +++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/scripts/test-manual-e2e.sh b/scripts/test-manual-e2e.sh index 14a28e72e23..bd6cc66548a 100755 --- a/scripts/test-manual-e2e.sh +++ b/scripts/test-manual-e2e.sh @@ -42,34 +42,34 @@ success "Generated artifacts for Maven" npm install -# success "Killing any running packagers" -# lsof -i :8081 | grep LISTEN -# lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill +success "Killing any running packagers" +lsof -i :8081 | grep LISTEN +lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill -# info "Start the packager in another terminal by running 'npm start' from the root" -# info "and then press any key." -# info "" -# read -n 1 +info "Start the packager in another terminal by running 'npm start' from the root" +info "and then press any key." +info "" +read -n 1 -# ./gradlew :RNTester:android:app:installJscDebug || error "Couldn't build RNTester Android" +./gradlew :RNTester:android:app:installJscDebug || error "Couldn't build RNTester Android" -# info "Press any key to run RNTester in an already running Android emulator/device" -# info "" -# read -n 1 -# adb shell am start -n com.facebook.react.uiapp/.RNTesterActivity +info "Press any key to run RNTester in an already running Android emulator/device" +info "" +read -n 1 +adb shell am start -n com.facebook.react.uiapp/.RNTesterActivity -# info "Press any key to open the workspace in Xcode, then build and test manually." -# info "" -# read -n 1 -# open "RNTester/RNTesterPods.xcworkspace" +info "Press any key to open the workspace in Xcode, then build and test manually." +info "" +read -n 1 +open "RNTester/RNTesterPods.xcworkspace" -# info "When done testing RNTester app on iOS and Android press any key to continue." -# info "" -# read -n 1 +info "When done testing RNTester app on iOS and Android press any key to continue." +info "" +read -n 1 -# success "Killing packager" -# lsof -i :8081 | grep LISTEN -# lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill +success "Killing packager" +lsof -i :8081 | grep LISTEN +lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill npm pack