Revert "Try installing Google Chrome for Testing (#7997)" (#8190)

This reverts commit d9169bba1e.
This commit is contained in:
Alexey-Ayupov
2023-08-29 21:42:30 +02:00
committed by GitHub
parent 49ea494d52
commit 36ddc88274
2 changed files with 75 additions and 29 deletions

View File

@@ -28,9 +28,18 @@ Describe "Chrome" {
$versionInfo | 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 "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 "<chromePath> is installed" -TestCases @{chromePath = $chromePath} {