File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ while [[ $# -gt 1 ]]; do
2727 ORIENTATIONS=" $2 "
2828 shift # past argument
2929 ;;
30+ -n|--network-profile)
31+ NETWORK_PROFILE=" $2 "
32+ shift # past argument
33+ ;;
3034 -r|--apk-release-path)
3135 PROD_APK_PATH=" $2 "
3236 shift # past argument
@@ -45,6 +49,7 @@ SDKS="${SDKS-"23"}"
4549LOCALES=" ${LOCALES-" en" } "
4650ORIENTATIONS=" ${ORIENTATIONS-" portrait" } "
4751PROD_APK_PATH=" ${PROD_APK_PATH-" app-prod-release.apk" } "
52+ NETWORK_PROFILE=" ${NETWORK_PROFILE-" LTE" } "
4853TEST_APK_PATH=" ${TEST_APK_PATH-" app-prod-release-androidTest.apk" } "
4954
5055echo " Authenticating service account in google cloud..."
@@ -59,6 +64,7 @@ gcloud config set project ${PROJECT}
5964echo " Testing project with the following configurations:"
6065echo " Devices: [${DEVICES} ]"
6166echo " SDK's: [${SDKS} ]"
67+ echo " Network profile: [${NETWORK_PROFILE} ]"
6268echo " Locales: [${LOCALES} ]"
6369echo " Orientations: [${ORIENTATIONS} ]"
6470echo " "
@@ -69,5 +75,6 @@ gcloud firebase test android run \
6975 --test ${TEST_APK_PATH} \
7076 --device-ids ${DEVICES} \
7177 --os-version-ids ${SDKS} \
78+ --network-profile ${NETWORK_PROFILE} \
7279 --locales ${LOCALES} \
7380 --orientations ${ORIENTATIONS}
You can’t perform that action at this time.
0 commit comments