mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
fixed browser tests
This commit is contained in:
@@ -18,7 +18,7 @@ Describe "Chrome" {
|
||||
Context "Browser" {
|
||||
$chromeRegPath = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe"
|
||||
|
||||
It "$edgeRegPath registry path exists" -TestCases @{chromeRegPath = $chromeRegPath} {
|
||||
It "Chrome <chromeRegPath> registry path exists" -TestCases @{chromeRegPath = $chromeRegPath} {
|
||||
$chromeRegPath | Should -Exist
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ Describe "Edge" {
|
||||
Context "Browser" {
|
||||
$edgeRegPath = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedge.exe"
|
||||
|
||||
It "$edgeRegPath registry path exists" -TestCases @{edgeRegPath = $edgeRegPath} {
|
||||
It "Edge <edgeRegPath> registry path exists" -TestCases @{edgeRegPath = $edgeRegPath} {
|
||||
$edgeRegPath | Should -Exist
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ Describe "Firefox" {
|
||||
Context "Browser" {
|
||||
$firefoxRegPath = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe"
|
||||
|
||||
It "$firefoxRegPath registry path exists" -TestCases @{firefoxRegPath = $firefoxRegPath} {
|
||||
It "Firefox <firefoxRegPath> registry path exists" -TestCases @{firefoxRegPath = $firefoxRegPath} {
|
||||
$firefoxRegPath | Should -Exist
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ Describe "Internet Explorer" {
|
||||
$env:IEWebDriver | Should -Exist
|
||||
}
|
||||
|
||||
It "iedriverserver.exe is intalled" {
|
||||
It "iedriverserver.exe is installed" {
|
||||
"$env:IEWebDriver\IEDriverServer.exe --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user