Try installing Google Chrome for Testing (#7997)

This commit is contained in:
Vasilii Polikarpov
2023-08-18 12:43:00 +02:00
committed by GitHub
parent 0c0af47317
commit d9169bba1e
2 changed files with 29 additions and 75 deletions

View File

@@ -28,18 +28,9 @@ Describe "Chrome" {
$versionInfo | Should -Not -BeNullOrEmpty
}
It "gupdate service is stopped" {
$svc = Get-Service -Name gupdate
$svc.Status | Should -BeExactly Stopped
}
It "gupdatem service is stopped" {
$svc = Get-Service -Name gupdatem
$svc.Status | Should -BeExactly Stopped
}
It "BlockGoogleUpdate firewall rule exists" {
Get-NetFirewallRule -DisplayName BlockGoogleUpdate | Should -Not -BeNullOrEmpty
It "Chrome Product Name should be 'Google Chrome for Testing'" -TestCases @{chromePath = $chromePath } {
$productName = (Get-Item $chromePath).VersionInfo.ProductName
$productName | Should -BeExactly "Google Chrome for Testing"
}
It "<chromePath> is installed" -TestCases @{chromePath = $chromePath} {