Skip to content

Commit 99b8f93

Browse files
committed
revert combined test
1 parent b6eadd5 commit 99b8f93

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Examples/Combined.tests.ps1

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff 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
6362
Describe "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)" {

0 commit comments

Comments
 (0)