Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: use default Android emulator gpu (#21170)

Max Schmittf3ec29e6ad30
diff --git a/utils/avd_start.sh b/utils/avd_start.sh
index 31221a4721..a1b9bf61fd 100755
--- a/utils/avd_start.sh
+++ b/utils/avd_start.sh
@@ -11,9 +11,7 @@ fi
bash $PWD/utils/avd_stop.sh
echo "Starting emulator"
-# On normal macOS GitHub Action runners, the host GPU is not available. So 'swiftshader_indirect' would have to be used.
-# Since we (Playwright) run our tests on a selfhosted mac, the host GPU is available, so we use it.
-nohup ${ANDROID_HOME}/emulator/emulator -avd android33 -no-audio -no-window -gpu host -no-boot-anim -no-snapshot &
+nohup ${ANDROID_HOME}/emulator/emulator -avd android33 -no-audio -no-window -no-boot-anim -no-snapshot &
${ANDROID_HOME}/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done; input keyevent 82'
${ANDROID_HOME}/platform-tools/adb devices
echo "Emulator started"