The CUA script runs on the CI runner (host), not inside the emulator. 10.0.2.2 is the emulator's special address for the host — it is only reachable FROM INSIDE the emulator. Calling it from the runner always fails, so _precreate_test_session returned None, and the session_list phase fell back to the weak 'screen visible' assertion instead of the strong 'pre-created session must appear' check. Fix: replace 10.0.2.2 → 127.0.0.1 before making the pre-create call. Localhost URLs (100.x.x.x, custom dev server) pass through unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
47 KiB
Executable File
47 KiB
Executable File