ci: Android 10 automated testing updates

Testing is still disabled because of https://github.com/microsoft/appcenter/issues/1451
This commit is contained in:
Jerome Laban 2020-05-07 08:15:27 -04:00
Родитель fdc7327b35
Коммит b3639d924d
2 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -16,7 +16,14 @@ echo ""
echo "[Waiting for launcher to start]"
LAUNCHER_READY=
while [[ -z ${LAUNCHER_READY} ]]; do
if [ $ANDROID_SIMULATOR_APILEVEL -ge 29 ];
then
UI_FOCUS=`$ANDROID_HOME/platform-tools/adb shell dumpsys window 2>/dev/null | grep -E 'mCurrentFocus|mFocusedApp'`
else
UI_FOCUS=`$ANDROID_HOME/platform-tools/adb shell dumpsys window windows 2>/dev/null | grep -i mCurrentFocus`
fi
echo "(DEBUG) Current focus: ${UI_FOCUS}"
case $UI_FOCUS in

Просмотреть файл

@ -71,6 +71,11 @@ jobs:
UITEST_TEST_MODE_NAME: Snapshots
UITEST_SNAPSHOTS_ONLY: true
# Android 10 testing is disabled because of https://github.com/microsoft/appcenter/issues/1451
# Android_10.0:
# ANDROID_SIMULATOR_APILEVEL: 29
# UITEST_TEST_MODE_NAME: Automated
steps:
- checkout: self
clean: true