Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mac/user-interaction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ get_browserstack_credentials() {
get_tech_stack() {
local run_mode=$1
local tech_stack=""
if [[ "$RUN_MODE" == *"--silent"* || "$RUN_MODE" == *"--debug"* ]]; then
if [[ "$run_mode" == *"--silent"* || "$run_mode" == *"--debug"* ]]; then
tech_stack="$TSTACK"
log_msg_to "✅ Selected Tech Stack from environment: $tech_stack"
else
tech_stack=$(osascript -e 'Tell application "System Events" to display dialog "Select installed tech stack:" buttons {"java", "python", "nodejs"} default button "java" with title "Testing Framework Technology Stack"' \
tech_stack=$(osascript -e 'Tell application "System Events" to display dialog "Select installed tech stack:" buttons {"java", "nodejs"} default button "java" with title "Testing Framework Technology Stack"' \
-e 'button returned of result')
fi
log_msg_to "✅ Selected Tech Stack: $tech_stack"
Expand Down
Loading