File tree Expand file tree Collapse file tree 2 files changed +7
-22
lines changed
example/e2e/maestro/android Expand file tree Collapse file tree 2 files changed +7
-22
lines changed Original file line number Diff line number Diff line change @@ -151,17 +151,9 @@ jobs:
151151 post-emulator-launch-assemble-command : echo Emulator Started
152152
153153 - run :
154- name : Wait for emulator to boot completely
154+ name : Install app on emulator
155155 command : |
156- # Wait for emulator to fully boot
157- adb wait-for-device
158- # Wait until the device is fully booted
159- BOOT_COMPLETED=$(adb shell getprop sys.boot_completed | tr -d '\r')
160- while [ "$BOOT_COMPLETED" != "1" ]; do
161- sleep 5
162- BOOT_COMPLETED=$(adb shell getprop sys.boot_completed | tr -d '\r')
163- echo "Waiting for emulator to boot: $BOOT_COMPLETED"
164- done
156+ adb install -r ~/project/example/android/app/build/outputs/apk/release/app-release.apk
165157
166158 - run :
167159 working_directory : example/e2e
@@ -205,10 +197,6 @@ jobs:
205197 name : Build
206198 command : npm run build:ios
207199
208- - run :
209- name : List available simulators
210- command : xcrun simctl list
211-
212200 - run :
213201 name : Create and boot iPhone 15 simulator
214202 command : |
@@ -221,11 +209,6 @@ jobs:
221209 command : |
222210 xcrun simctl install booted ~/project/example/e2e/build/Build/Products/Release-iphonesimulator/IntercomReactNativeExampleUI.app
223211
224- - run :
225- working_directory : example/e2e
226- name : Check Maestro version
227- command : maestro -v
228-
229212 - run :
230213 working_directory : example/e2e
231214 name : Run UI Tests
Original file line number Diff line number Diff line change 55---
66- launchApp
77- tapOn : " Login as an Unidentified User"
8+ - assertVisible :
9+ text : " Present Help Center"
10+ enabled : true
811- tapOn : " Present Help Center"
9- - assertVisible : " Help"
10- - assertVisible : " Intercom Overview"
11- - tapOn : " Intercom Overview"
12+ - assertVisible : " Untitled collection"
13+ - tapOn : " Untitled collection"
You can’t perform that action at this time.
0 commit comments