fixed browser tests

This commit is contained in:
Aleksandr Chebotov
2020-07-13 11:44:04 +03:00
parent 81865d867e
commit f8bf39d9ad
3 changed files with 20 additions and 23 deletions

View File

@@ -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
}