@@ -23,6 +23,7 @@ import maestro.cli.util.WorkspaceUtils
23
23
import maestro.cli.view.ProgressBar
24
24
import maestro.cli.view.TestSuiteStatusView
25
25
import maestro.cli.view.TestSuiteStatusView.TestSuiteViewModel.Companion.toViewModel
26
+ import maestro.cli.view.TestSuiteStatusView.robinUploadUrl
26
27
import maestro.cli.view.TestSuiteStatusView.uploadUrl
27
28
import maestro.cli.view.box
28
29
import maestro.utils.TemporaryDirectory
@@ -135,9 +136,8 @@ class CloudInteractor(
135
136
println ()
136
137
val project = requireNotNull(projectId)
137
138
val appId = response.appId
138
- val uploadUrl = uploadUrl (project, appId, client.domain)
139
+ val uploadUrl = robinUploadUrl (project, appId, response.uploadId , client.domain)
139
140
val deviceMessage = if (response.deviceConfiguration != null ) printDeviceInfo(response.deviceConfiguration) else " "
140
- val appBinaryIdResponseId = if (appBinaryId != null ) response.appBinaryId else null
141
141
return printMaestroCloudResponse(
142
142
async,
143
143
authToken,
@@ -148,7 +148,7 @@ class CloudInteractor(
148
148
uploadUrl,
149
149
deviceMessage,
150
150
appId,
151
- appBinaryIdResponseId ,
151
+ response.appBinaryId ,
152
152
response.uploadId,
153
153
projectId,
154
154
)
@@ -252,7 +252,7 @@ class CloudInteractor(
252
252
private fun printDeviceInfo (deviceConfiguration : DeviceConfiguration ): String {
253
253
val platform = Platform .fromString(deviceConfiguration.platform)
254
254
255
- val line1 = " Maestro Cloud device specs:\n * ${deviceConfiguration.displayInfo} - ${deviceConfiguration.deviceLocale} "
255
+ val line1 = " Robin device specs:\n * ${deviceConfiguration.displayInfo} - ${deviceConfiguration.deviceLocale} "
256
256
val line2 = " To change OS version use this option: ${if (platform == Platform .IOS ) " --ios-version=<version>" else " --android-api-level=<version>" } "
257
257
val line3 = " To change device locale use this option: --device-locale=<device_locale>"
258
258
0 commit comments