diff --git a/scripts/release-testing/test-e2e-local.js b/scripts/release-testing/test-e2e-local.js index 7698b1427ea..25f2a66e9b9 100644 --- a/scripts/release-testing/test-e2e-local.js +++ b/scripts/release-testing/test-e2e-local.js @@ -174,9 +174,7 @@ async function testRNTesterAndroid( launchPackagerInSeparateWindow(pwd().toString()); // Wait for the Android Emulator to be properly loaded and bootstrapped - exec( - "adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'", - ); + exec("adb wait-for-device"); if (ciArtifacts != null) { const downloadPath = path.join(ciArtifacts.baseTmpPath(), 'rntester.zip');