Skip to content

Commit b6eadd5

Browse files
committed
Update Combined.tests.ps1
1 parent 100cdf7 commit b6eadd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Examples/Combined.tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Describe "Testing the tailspin toys demo site at $env:SITE_URL" {
6464
BeforeAll {
6565
#Relying on environment variable to pick the browser. Capture ID for use in logs by requesting verbose and redirecting it.
6666
$Global:SeDriver = $null
67+
if ($BrowserOptHash -eq $null) { $BrowserOptHash = @{} }
6768
$BrowserID = SeOpen -URL $env:SITE_URL -Options $BrowserOptHash -Verbose 4>&1
6869
Write-Verbose "`$Global:SeDriver -eq `$null: $($Global:SeDriver -eq $null)"
6970
$BrowserID = ($BrowserID.Message -replace '^Opened ', '') + ' on ' + [System.Environment]::OSVersion.Platform

0 commit comments

Comments
 (0)