You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log-Line "✅ Mobile App Testing Plan fetched: Team max parallel sessions = $script:TEAM_PARALLELS_MAX_ALLOWED_MOBILE"$global:NOW_RUN_LOG_FILE
332
+
Log-Line "Mobile App Testing Plan fetched: Team max parallel sessions = $script:TEAM_PARALLELS_MAX_ALLOWED_MOBILE"$global:NOW_RUN_LOG_FILE
333
333
} catch {
334
-
Log-Line "❌ Mobile App Testing Plan fetch failed ($($_.Exception.Message))"$global:NOW_RUN_LOG_FILE
334
+
Log-Line "Mobile App Testing Plan fetch failed ($($_.Exception.Message))"$global:NOW_RUN_LOG_FILE
335
335
}
336
336
if (-not$script:MOBILE_PLAN_FETCHED) {
337
337
throw"Unable to fetch Mobile App Testing plan details."
@@ -347,7 +347,7 @@ function Fetch-Plan-Details {
347
347
$script:TEAM_PARALLELS_MAX_ALLOWED_MOBILE=5
348
348
Log-Line "Silent mode: Plan summary: Web $WEB_PLAN_FETCHED ($TEAM_PARALLELS_MAX_ALLOWED_WEB max), Mobile $MOBILE_PLAN_FETCHED ($TEAM_PARALLELS_MAX_ALLOWED_MOBILE max)"$global:NOW_RUN_LOG_FILE
349
349
} else {
350
-
Log-Line "ℹ️ Plan summary: Web fetched=$script:WEB_PLAN_FETCHED (team max=$script:TEAM_PARALLELS_MAX_ALLOWED_WEB), Mobile fetched=$script:MOBILE_PLAN_FETCHED (team max=$script:TEAM_PARALLELS_MAX_ALLOWED_MOBILE)"$global:NOW_RUN_LOG_FILE
350
+
Log-Line "Plan summary: Web fetched=$script:WEB_PLAN_FETCHED (team max=$script:TEAM_PARALLELS_MAX_ALLOWED_WEB), Mobile fetched=$script:MOBILE_PLAN_FETCHED (team max=$script:TEAM_PARALLELS_MAX_ALLOWED_MOBILE)"$global:NOW_RUN_LOG_FILE
351
351
}
352
352
353
353
}
@@ -366,13 +366,13 @@ function Invoke-SampleAppUpload {
Copy file name to clipboardExpand all lines: common/win/user-interaction.ps1
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -175,12 +175,12 @@ function Ask-BrowserStack-Credentials {
175
175
176
176
$script:BROWSERSTACK_USERNAME=Show-InputBox-Title "BrowserStack Setup"-Prompt "Enter your BrowserStack Username:`n`nLocate it on https://www.browserstack.com/accounts/profile/details"-DefaultText ""
177
177
if ([string]::IsNullOrWhiteSpace($script:BROWSERSTACK_USERNAME)) {
$script:BROWSERSTACK_ACCESS_KEY=Show-PasswordBox-Title "BrowserStack Setup"-Prompt "Enter your BrowserStack Access Key:`n`nLocate it on https://www.browserstack.com/accounts/profile/details"
182
182
if ([string]::IsNullOrWhiteSpace($script:BROWSERSTACK_ACCESS_KEY)) {
if (-not [string]::IsNullOrWhiteSpace($CliValue)) {
257
257
$script:CX_TEST_URL=$CliValue
258
-
Log-Line "🌐 Using custom test URL from CLI: $CliValue"$global:NOW_RUN_LOG_FILE
258
+
Log-Line "Using custom test URL from CLI: $CliValue"$global:NOW_RUN_LOG_FILE
259
259
return
260
260
}
261
261
262
262
$testUrl=Show-InputBox-Title "Test URL Setup"-Prompt "Enter the URL you want to test with BrowserStack:`n(Leave blank for default: $script:DEFAULT_TEST_URL)"-DefaultText ""
263
263
if ([string]::IsNullOrWhiteSpace($testUrl)) {
264
264
$testUrl=$script:DEFAULT_TEST_URL
265
-
Log-Line "⚠️ No URL entered. Falling back to default: $testUrl"$global:NOW_RUN_LOG_FILE
265
+
Log-Line "No URL entered. Falling back to default: $testUrl"$global:NOW_RUN_LOG_FILE
266
266
} else {
267
-
Log-Line "🌐 Using custom test URL: $testUrl"$global:NOW_RUN_LOG_FILE
267
+
Log-Line "Using custom test URL: $testUrl"$global:NOW_RUN_LOG_FILE
268
268
}
269
269
$script:CX_TEST_URL=$testUrl
270
270
}
@@ -292,7 +292,7 @@ function Ask-And-Upload-App {
292
292
return
293
293
}
294
294
$result=Invoke-SampleAppUpload
295
-
Log-Line "⚠️ Using auto-uploaded sample app: $($result.Url)"$global:NOW_RUN_LOG_FILE
0 commit comments