From 47a9a2b44f63208fff6afea40f2c8f1e59285a8d Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 18 Aug 2025 08:18:03 -0700 Subject: [PATCH] Fix recording for Maestro E2E tests on iOS (#53333) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53333 As per title, the recordings of iOS E2E tests are broken because we are creating a file that contains the js engine in the name, but we are trying to store a file without the js engine in the name. ## Changelog: [Internal] - Reviewed By: cortinico Differential Revision: D80454067 fbshipit-source-id: e4eee86793eb36f9ec9643cba7b65de75e30cbe7 --- .github/workflow-scripts/maestro-ios.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflow-scripts/maestro-ios.js b/.github/workflow-scripts/maestro-ios.js index c2b4b80b611..ca9b546cd17 100644 --- a/.github/workflow-scripts/maestro-ios.js +++ b/.github/workflow-scripts/maestro-ios.js @@ -87,11 +87,11 @@ async function launchAppOnSimulator(appId, udid, isDebug) { function startVideoRecording(jsengine, currentAttempt) { console.log( - `Start video record using pid: video_record_${jsengine}_${currentAttempt}.pid`, + `Start video record using pid: video_record_${currentAttempt}.pid`, ); const recordingArgs = - `simctl io booted recordVideo video_record_${jsengine}_${currentAttempt}.mov`.split( + `simctl io booted recordVideo video_record_${currentAttempt}.mov`.split( ' ', ); const recordingProcess = childProcess.spawn('xcrun', recordingArgs, {