Skip to content

Commit 8cffd16

Browse files
committed
resolve merge conflict in mac/run.sh
1 parent 7fcd35d commit 8cffd16

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

mac/run.sh

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,7 @@ APP_URL=""
2626
APP_PLATFORM="" # ios | android | all
2727

2828

29-
<<<<<<< HEAD:mac.sh
30-
# ===== Error Patterns =====
31-
WEB_SETUP_ERRORS=("Work in Progress")
32-
WEB_LOCAL_ERRORS=("Work in Progress")
3329

34-
MOBILE_SETUP_ERRORS=("Work in Progress")
35-
MOBILE_LOCAL_ERRORS=("Work in Progress")
36-
37-
=======
38-
>>>>>>> 67ca2f8a83425109951e581354969d419862d844:mac/run.sh
3930
# ===== Example Platform Templates (replace with your full lists if available) =====
4031
WEB_PLATFORM_TEMPLATES=(
4132
"Windows|10|Chrome"
@@ -48,7 +39,6 @@ WEB_PLATFORM_TEMPLATES=(
4839
"OS X|Catalina|Firefox"
4940
)
5041

51-
5242
MOBILE_ALL=(
5343
# Tier 1
5444
"ios|iPhone 15|17"
@@ -371,42 +361,6 @@ ask_user_for_test_url() {
371361
fi
372362
}
373363

374-
# ask_and_upload_app() {
375-
376-
# APP_FILE_PATH=$(osascript -e 'POSIX path of (choose file with prompt "📱 Please select your .apk or .ipa app file to upload to BrowserStack, If No App Selected then Defualt Browserstack app will be used automatically")')
377-
378-
# if [ -z "$APP_FILE_PATH" ]; then
379-
# log_msg_to "⚠️ No app selected. Using default sample app: bs://sample.app" "$GLOBAL"
380-
# APP_URL="bs://sample.app"
381-
# APP_PLATFORM="all"
382-
# return
383-
# fi
384-
385-
# # Detect platform
386-
# if [[ "$APP_FILE_PATH" == *.apk ]]; then
387-
# APP_PLATFORM="android"
388-
# elif [[ "$APP_FILE_PATH" == *.ipa ]]; then
389-
# APP_PLATFORM="ios"
390-
# else
391-
# log_msg_to "❌ Unsupported file type. Only .apk or .ipa allowed." "$GLOBAL"
392-
# exit 1
393-
# fi
394-
395-
# # Upload app
396-
# log_msg_to "⬆️ Uploading $APP_FILE_PATH to BrowserStack..." "$GLOBAL"
397-
# UPLOAD_RESPONSE=$(curl -s -u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" \
398-
# -X POST "https://api-cloud.browserstack.com/app-automate/upload" \
399-
# -F "file=@$APP_FILE_PATH")
400-
401-
# APP_URL=$(echo "$UPLOAD_RESPONSE" | grep -o '"app_url":"[^"]*' | cut -d'"' -f4)
402-
403-
# if [ -z "$APP_URL" ]; then
404-
# log_msg_to "❌ Upload failed. Response: $UPLOAD_RESPONSE" "$GLOBAL"
405-
# exit 1
406-
# fi
407-
408-
# log_msg_to "✅ App uploaded successfully: $APP_URL" "$GLOBAL"
409-
# }
410364
ask_and_upload_app() {
411365

412366
CHOICE_RESPONSE=$(osascript -e '
@@ -1325,12 +1279,9 @@ fetch_plan_details
13251279
# Plan summary in pre-run log
13261280
# log_msg_to "Plan summary: WEB_PLAN_FETCHED=$WEB_PLAN_FETCHED (team max=$TEAM_PARALLELS_MAX_ALLOWED_WEB), MOBILE_PLAN_FETCHED=$MOBILE_PLAN_FETCHED (team max=$TEAM_PARALLELS_MAX_ALLOWED_MOBILE)" "$GLOBAL"
13271281
log_msg_to "Plan summary: WEB_PLAN_FETCHED=$WEB_PLAN_FETCHED (team max=$TEAM_PARALLELS_MAX_ALLOWED_WEB), MOBILE_PLAN_FETCHED=$MOBILE_PLAN_FETCHED (team max=$TEAM_PARALLELS_MAX_ALLOWED_MOBILE)" "$GLOBAL"
1328-
<<<<<<< HEAD:mac.sh
1329-
=======
13301282
log_msg_to "Checking proxy in environment" "$GLOBAL"
13311283
chmod +x proxy-check.sh
13321284
./proxy-check.sh
13331285
log_msg_to "Starting setup run..." "$GLOBAL"
1334-
>>>>>>> 67ca2f8a83425109951e581354969d419862d844:mac/run.sh
13351286
run_setup
13361287
log_msg_to "Setup run finished." "$GLOBAL"

0 commit comments

Comments
 (0)