File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ function Set-ProxyInEnv {
8888function Validate-Tech-Stack {
8989 Log- Line " ℹ️ Checking prerequisites for $script :TECH_STACK " $NOW_RUN_LOG_FILE
9090 switch ($script :TECH_STACK ) {
91- " Java " {
91+ " java " {
9292 if (-not (Get-Command java - ErrorAction SilentlyContinue)) {
9393 Log- Line " ❌ Java command not found in PATH." $NOW_RUN_LOG_FILE
9494 throw " Java not found"
@@ -101,7 +101,7 @@ function Validate-Tech-Stack {
101101 Log- Line " ✅ Java is installed. Version details:" $NOW_RUN_LOG_FILE
102102 ($verInfo -split " `r ?`n " ) | ForEach-Object { if ($_ -ne " " ) { Log- Line " $_ " $NOW_RUN_LOG_FILE } }
103103 }
104- " Python " {
104+ " python " {
105105 try {
106106 Set-PythonCmd
107107 $code = Invoke-Py - Arguments @ (" --version" ) - LogFile $null - WorkingDirectory (Get-Location ).Path
@@ -115,7 +115,7 @@ function Validate-Tech-Stack {
115115 throw
116116 }
117117 }
118- " NodeJS " {
118+ " nodejs " {
119119 if (-not (Get-Command node - ErrorAction SilentlyContinue)) {
120120 Log- Line " ❌ Node.js command not found in PATH." $NOW_RUN_LOG_FILE
121121 throw " Node not found"
Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ function Setup-Environment {
508508 $logFile = $NOW_RUN_LOG_FILE
509509
510510 switch ($TechStack ) {
511- " Java " {
511+ " java " {
512512 if ($SetupType -match " web" ) {
513513 Setup- Web- Java - UseLocal:$localFlag - ParallelsPerPlatform $totalParallels - LogFile $logFile
514514 $success = Identify- RunStatus- Java - LogFile $logFile
@@ -517,7 +517,7 @@ function Setup-Environment {
517517 $success = Identify- RunStatus- Java - LogFile $logFile
518518 }
519519 }
520- " Python " {
520+ " python " {
521521 if ($SetupType -match " web" ) {
522522 Setup- Web- Python - UseLocal:$localFlag - ParallelsPerPlatform $totalParallels - LogFile $logFile
523523 $success = Identify- RunStatus- Python - LogFile $logFile
@@ -526,7 +526,7 @@ function Setup-Environment {
526526 $success = Identify- RunStatus- Python - LogFile $logFile
527527 }
528528 }
529- " NodeJS " {
529+ " nodejs " {
530530 if ($SetupType -match " web" ) {
531531 Setup- Web- NodeJS - UseLocal:$localFlag - ParallelsPerPlatform $totalParallels - LogFile $logFile
532532 $success = Identify- RunStatus- NodeJS - LogFile $logFile
Original file line number Diff line number Diff line change 4242
4343 # Get test type and tech stack FIRST
4444 if ($RunMode -match " --silent|--debug" ) {
45- $script :TEST_TYPE = if ( $TT ) { ( Get-Culture ).TextInfo.ToTitleCase( $TT .ToLowerInvariant ()) } else { $ env: TEST_TYPE }
46- $script :TECH_STACK = if ( $TSTACK ) { ( Get-Culture ).TextInfo.ToTitleCase( $TSTACK .ToLowerInvariant ()) } else { $ env: TECH_STACK }
45+ $script :TEST_TYPE = $TT
46+ $script :TECH_STACK = $TSTACK
4747 Log- Line " ℹ️ Run Mode: $RunMode "
4848 } else {
4949 Resolve-Test - Type - RunMode $RunMode - CliValue $TT
You can’t perform that action at this time.
0 commit comments