Skip to content

Commit f2cf624

Browse files
committed
Add saucectl run cmd output
1 parent 1f4efd7 commit f2cf624

File tree

1 file changed

+58
-2
lines changed

1 file changed

+58
-2
lines changed

docs/mobile-apps/automated-testing/flutter/flutter-integration-testing-android.md

Lines changed: 58 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,69 @@ Follow this guide to run integration tests for your Flutter app on Android.
140140
- junit.xml
141141
directory: ./
142142
```
143-
* run the following commands to start the test on Sauce Labs
143+
* Run the following commands to start the test on Sauce Labs
144144
```bash title="Terminal Command"
145145
saucectl configure -u USERNAME -a ACCESS_KEY
146146
saucectl run -c sauceconnect/flutter_integration_test.yaml
147147
```
148148
* Check the status of you test on `app.saucelabs.com`
149-
149+
``` bash title="saucectl run command output"
150+
12:24:52 INF Running Espresso in Sauce Labs
151+
(.
152+
#.
153+
#.
154+
.####################
155+
#####////////*******/######
156+
.##///////*****************###/
157+
,###////*********************###
158+
####//***********************####
159+
###/************************###
160+
######********************###. ##
161+
(######################## ## ##
162+
,######(#* ##* (##
163+
/############* #####
164+
(########( #########( ###
165+
.#######, */ ############
166+
,########## %#### , ########*
167+
*### .#######/ ## / ########
168+
### .###########//###########
169+
###### ########################
170+
(#( *#( #######. (#######
171+
##, /######## ########
172+
*######## ########
173+
_____ _ _ _____ ______ _____ _ ____ _ _ _____
174+
/ ____| /\ | | | |/ ____| ____| / ____| | / __ \| | | | __ \
175+
| (___ / \ | | | | | | |__ | | | | | | | | | | | | | |
176+
\___ \ / /\ \| | | | | | __| | | | | | | | | | | | | | |
177+
____) / ____ \ |__| | |____| |____ | |____| |___| |__| | |__| | |__| |
178+
|_____/_/ \_\____/ \_____|______| \_____|______\____/ \____/|_____/
179+
180+
12:24:52 INF Checking if ...../my-demo-app-flutter/build/app/outputs/flutter-apk/app-debug.apk has already been uploaded previously
181+
12:24:52 INF Checksum: 1df0b6684973536fef4ae653d89661d6c48d6f699091511515b69735d6a80fbd
182+
12:27:26 INF Application uploaded. durationMs=153173 storageId=77c424e9-7155-49c0-a7e7-66816ee31394
183+
12:27:26 INF Checking if ...../build/app/outputs/apk/androidTest/debug/app-debug-androidTest.apk has already been uploaded previously
184+
12:27:26 INF Checksum: b5b15cb741b78fe7a5df171406c17ec9ea8fd6ac52623abf7a8df519270e281d
185+
12:27:26 INF Skipping upload, using storage:e11d4052-22ef-4c16-84de-afacd9389d1c
186+
12:27:26 INF Launching workers. concurrency=1
187+
12:27:26 INF Starting suite. region=us-west-1 suite="Sauce Labs Espresso with flutter integration tests"
188+
12:27:27 INF Suite started. deviceId= deviceName="Google Pixel.*" platform=Android platformVersion= private=false suite="Sauce Labs Espresso with flutter integration tests" url=https://app.saucelabs.com/tests/133de59ee2af44378ca859e3916ce5f7
189+
12:27:36 INF Suites in progress: 1
190+
12:27:46 INF Suites in progress: 1
191+
12:27:56 INF Suites in progress: 1
192+
12:28:06 INF Suites in progress: 1
193+
12:28:16 INF Suites in progress: 1
194+
12:28:26 INF Suites in progress: 1
195+
12:28:27 INF Suite finished. passed=true suite="Sauce Labs Espresso with flutter integration tests" url=https://app.saucelabs.com/tests/133de59ee2af44378ca859e3916ce5f7
196+
197+
Results:
198+
Name Duration Status Platform Device Attempts
199+
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
200+
✔ Sauce Labs Espresso with flutter integration tests 1m0s passed Android Google Pixel.* 1
201+
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
202+
✔ All tests have passed 1m1s
203+
204+
Build Link: https://app.saucelabs.com/builds/rdc/b1d0913f985b3d02ad8db391c898aa16
205+
```
150206
## Example Implementation
151207

152208
For a practical example of how to set up and run integration tests for Flutter apps, you can refer to the [Sauce Labs Flutter demo application](https://github.com/saucelabs/my-demo-app-flutter) repository.

0 commit comments

Comments
 (0)