mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Add Chrome + Chromedriver test (#6330)
This commit is contained in:
@@ -16,6 +16,12 @@ Describe "Chrome" {
|
|||||||
It "Chrome Driver" {
|
It "Chrome Driver" {
|
||||||
"chromedriver --version" | Should -ReturnZeroExitCode
|
"chromedriver --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
It "Chrome and Chrome Driver major versions are the same" {
|
||||||
|
$chromeMajor = (google-chrome --version).Trim("Google Chrome ").Split(".")[0]
|
||||||
|
$chromeDriverMajor = (chromedriver --version).Trim("ChromeDriver ").Split(".")[0]
|
||||||
|
$chromeMajor | Should -BeExactly $chromeDriverMajor
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Edge" {
|
Describe "Edge" {
|
||||||
|
|||||||
Reference in New Issue
Block a user