Skip to content

Commit 868971e

Browse files
realtime link
1 parent 1f20dee commit 868971e

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

src/providers/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default class Login {
2525
const authUrl = `${AUTH_URL}?port=${this.port}&identifier=testingbotctl`;
2626
logger.info('Opening browser for authentication...');
2727
logger.info(
28-
`\nIf the browser does not open automatically, visit:\n\n ${authUrl}\n`,
28+
`If the browser does not open automatically, visit:\n\n ${authUrl}\n`,
2929
);
3030

3131
await this.openBrowser(authUrl);

src/providers/maestro.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,6 @@ export default class Maestro {
638638
console.log(
639639
` ${statusEmoji} Run ${run.id} (${run.capabilities.deviceName}): ${statusText}`,
640640
);
641-
console.log(
642-
` View results: https://testingbot.com/members/maestro/${this.appId}/runs/${run.id}`,
643-
);
644641
}
645642
}
646643

@@ -706,6 +703,16 @@ export default class Maestro {
706703
this.clearLine();
707704
}
708705

706+
// Show URL when test starts running (transitions from WAITING to READY)
707+
if (statusChanged && prevStatus === 'WAITING' && run.status === 'READY') {
708+
console.log(
709+
` 🚀 Run ${run.id} (${run.capabilities.deviceName}): Test started`,
710+
);
711+
console.log(
712+
` Watch this test in realtime: https://testingbot.com/members/maestro/${this.appId}/runs/${run.id}`,
713+
);
714+
}
715+
709716
previousStatus.set(run.id, run.status);
710717

711718
const statusInfo = this.getStatusInfo(run.status);

0 commit comments

Comments
 (0)