We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee8f6c commit 3096815Copy full SHA for 3096815
1 file changed
.github/workflows/e2e-android.yml
@@ -118,11 +118,9 @@ jobs:
118
$ANDROID_HOME/platform-tools/adb shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'
119
# Install the app APK
120
$ANDROID_HOME/platform-tools/adb install -r android/app/build/outputs/apk/debug/app-debug.apk
121
- # Launch the app
122
- until $ANDROID_HOME/platform-tools/adb shell monkey -p com.example 1 | grep -q "Events injected: 1"; do
123
- sleep 1
124
- echo "Retrying app launch..."
125
- done
+ # Launch the app using bash
+ bash -c 'until $ANDROID_HOME/platform-tools/adb shell monkey -p com.example 1 | grep -q "Events injected: 1"; do sleep 1; echo "Retrying app launch..."; done'
+
126
# Run your E2E tests
127
cd ../..
128
E2E=true yarn e2e
0 commit comments