From 026fd325abd53fbfe37fcdee341202192d2c3fcd Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Tue, 10 Sep 2024 08:25:26 +0100 Subject: [PATCH] [LOCAL] Fix testing script to use debug versions of the Android APK --- scripts/release-testing/test-e2e-local.js | 2 +- scripts/release-testing/utils/github-actions-utils.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/release-testing/test-e2e-local.js b/scripts/release-testing/test-e2e-local.js index 6a520335b13..ea77c3d205e 100644 --- a/scripts/release-testing/test-e2e-local.js +++ b/scripts/release-testing/test-e2e-local.js @@ -164,7 +164,7 @@ async function testRNTesterAndroid( exec(`unzip ${downloadPath} -d ${unzipFolder}`); let apkPath = path.join( unzipFolder, - `app-${argv.hermes === true ? 'hermes' : 'jsc'}-${emulatorArch}-release.apk`, + `app-${argv.hermes === true ? 'hermes' : 'jsc'}-${emulatorArch}-debug.apk`, ); exec(`adb install ${apkPath}`); diff --git a/scripts/release-testing/utils/github-actions-utils.js b/scripts/release-testing/utils/github-actions-utils.js index 2089acb337c..99498af8cc8 100644 --- a/scripts/release-testing/utils/github-actions-utils.js +++ b/scripts/release-testing/utils/github-actions-utils.js @@ -161,13 +161,13 @@ function downloadArtifact( async function artifactURLForJSCRNTesterAPK( emulatorArch /*: string */, ) /*: Promise */ { - return getArtifactURL('rntester-jsc-release'); + return getArtifactURL('rntester-jsc-debug'); } async function artifactURLForHermesRNTesterAPK( emulatorArch /*: string */, ) /*: Promise */ { - return getArtifactURL('rntester-hermes-release'); + return getArtifactURL('rntester-hermes-debug'); } async function artifactURLForMavenLocal() /*: Promise */ {