Skip to content

Commit 239db25

Browse files
committed
Drop Maestro debug output change from this PR
1 parent a57e24c commit 239db25

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

‎.github/workflow-scripts/maestro-ios.js‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
const childProcess = require('child_process');
1111
const fs = require('fs');
12-
const path = require('path');
1312

1413
const usage = `
1514
=== Usage ===
@@ -27,7 +26,6 @@ node maestro-ios.js <path to app> <app_id> <maestro_flow> <jsengine> <flavor> <w
2726
`;
2827

2928
const MAX_ATTEMPTS = 5;
30-
const MAESTRO_LOG_DIRECTORY = '/tmp/MaestroLogs';
3129

3230
function findAvailableSimulator(deviceModel, deviceOS) {
3331
const output = childProcess.execSync(
@@ -187,14 +185,7 @@ async function executeFlowWithRetries(
187185
const recProcess = startVideoRecording(udid, currentAttempt);
188186
try {
189187
const timeout = 1000 * 60 * 10; // 10 minutes
190-
// Keep each attempt's commands, screenshots, and logs; retries would
191-
// otherwise overwrite them.
192-
const debugOutput = path.join(
193-
MAESTRO_LOG_DIRECTORY,
194-
path.basename(flow, path.extname(flow)),
195-
`attempt-${currentAttempt}`,
196-
);
197-
const command = `$HOME/.maestro/bin/maestro --udid="${udid}" test "${flow}" --format junit -e APP_ID="${appId}" --debug-output "${debugOutput}"`;
188+
const command = `$HOME/.maestro/bin/maestro --udid="${udid}" test "${flow}" --format junit -e APP_ID="${appId}"`;
198189
console.info(`Executing flow: ${flow} (attempt ${currentAttempt})`);
199190
console.log(command);
200191
childProcess.execSync(`MAESTRO_DRIVER_STARTUP_TIMEOUT=1500000 ${command}`, {

0 commit comments

Comments
 (0)