From 29ffb04c7c3d2f0b9e983d64dcfda802ca84c726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Muzyk?= Date: Mon, 9 Nov 2026 15:56:21 +0100 Subject: [PATCH] fix: load Android e2e bundle via adb reverse instead of 10.0.2.2 --- .github/workflows/e2e.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 85561c188..733665330 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -131,6 +131,9 @@ jobs: avd-name: e2e working-directory: apps/tester-federation-v2 script: | + adb root && adb wait-for-device + adb shell setprop metro.host localhost + [ "$(adb shell getprop metro.host)" = "localhost" ] || { echo '::error::metro.host not set'; exit 1; } adb shell settings put global hide_error_dialogs 1 for i in 1 2 3; do adb shell "uiautomator dump /sdcard/d.xml >/dev/null && grep -q aerr_ /sdcard/d.xml" && { echo 'ANR dialog on screen, clearing it'; adb shell am force-stop com.google.android.apps.nexuslauncher; }; sleep 2; done adb reverse tcp:8081 tcp:8081