File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ while [[ $# -gt 1 ]]; do
27
27
ORIENTATIONS=" $2 "
28
28
shift # past argument
29
29
;;
30
+ -n|--network-profile)
31
+ NETWORK_PROFILE=" $2 "
32
+ shift # past argument
33
+ ;;
30
34
-r|--apk-release-path)
31
35
PROD_APK_PATH=" $2 "
32
36
shift # past argument
@@ -45,6 +49,7 @@ SDKS="${SDKS-"23"}"
45
49
LOCALES=" ${LOCALES-" en" } "
46
50
ORIENTATIONS=" ${ORIENTATIONS-" portrait" } "
47
51
PROD_APK_PATH=" ${PROD_APK_PATH-" app-prod-release.apk" } "
52
+ NETWORK_PROFILE=" ${NETWORK_PROFILE-" LTE" } "
48
53
TEST_APK_PATH=" ${TEST_APK_PATH-" app-prod-release-androidTest.apk" } "
49
54
50
55
echo " Authenticating service account in google cloud..."
@@ -59,6 +64,7 @@ gcloud config set project ${PROJECT}
59
64
echo " Testing project with the following configurations:"
60
65
echo " Devices: [${DEVICES} ]"
61
66
echo " SDK's: [${SDKS} ]"
67
+ echo " Network profile: [${NETWORK_PROFILE} ]"
62
68
echo " Locales: [${LOCALES} ]"
63
69
echo " Orientations: [${ORIENTATIONS} ]"
64
70
echo " "
@@ -69,5 +75,6 @@ gcloud firebase test android run \
69
75
--test ${TEST_APK_PATH} \
70
76
--device-ids ${DEVICES} \
71
77
--os-version-ids ${SDKS} \
78
+ --network-profile ${NETWORK_PROFILE} \
72
79
--locales ${LOCALES} \
73
80
--orientations ${ORIENTATIONS}
You can’t perform that action at this time.
0 commit comments