mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
Add Chrome + Chromedriver test (#6330)
This commit is contained in:
@@ -16,6 +16,12 @@ Describe "Chrome" {
|
||||
It "Chrome Driver" {
|
||||
"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" {
|
||||
|
||||
Reference in New Issue
Block a user