feat: robot run notify

This commit is contained in:
karishmas6
2024-11-29 17:04:09 +05:30
parent 74c4abee21
commit 428034f48c

View File

@@ -98,9 +98,9 @@ export const MainPage = ({ handleEditRecording }: MainPageProps) => {
socket.on('debugMessage', debugMessageHandler);
setContent('runs');
if (browserId) {
notify('info', `Running recording: ${runningRecordingName}`);
notify('info', `Running robot: ${runningRecordingName}`);
} else {
notify('error', `Failed to run recording: ${runningRecordingName}`);
notify('error', `Failed to run robot: ${runningRecordingName}`);
}
})
return (socket: Socket, browserId: string, runId: string) => {