mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Try installing Google Chrome for Testing (#7997)
This commit is contained in:
committed by
GitHub
parent
0c0af47317
commit
d9169bba1e
@@ -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} {
|
||||
|
||||
Reference in New Issue
Block a user