File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,12 @@ $ModaltestCases = @(
5757 modalXPath = ' //*[@id="profile-modal-1"]/div/div'
5858 }
5959)
60- $Global :BrowserOptHash = $TestCaseSettings [$env: DefaultBrowser ].DefaultOptions
61- $Global :BrowserOptText = Build-StringFromHash $BrowserOptHash
62-
60+ $BrowserOptHash = $TestCaseSettings [$env: DefaultBrowser ].DefaultOptions
61+ $BrowserOptText = Build-StringFromHash $BrowserOptHash
6362Describe " Testing the tailspin toys demo site at $env: SITE_URL " {
6463 BeforeAll {
6564 # Relying on environment variable to pick the browser. Capture ID for use in logs by requesting verbose and redirecting it.
66- $Global :SeDriver = $null
67- if ($BrowserOptHash -eq $null ) { $BrowserOptHash = @ {} }
6865 $BrowserID = SeOpen - URL $env: SITE_URL - Options $BrowserOptHash - Verbose 4>&1
69- Write-Verbose " `$ Global:SeDriver -eq `$ null: $ ( $Global :SeDriver -eq $null ) "
7066 $BrowserID = ($BrowserID.Message -replace ' ^Opened ' , ' ' ) + ' on ' + [System.Environment ]::OSVersion.Platform
7167 }
7268 Context " in $BrowserID with settings ($BrowserOptText )" {
You can’t perform that action at this time.
0 commit comments