mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows] Implement new directories hierarchy (#8616)
This commit is contained in:
committed by
GitHub
parent
84a7deae24
commit
d1f2c9a3be
12
images/windows/scripts/tests/WinAppDriver.Tests.ps1
Normal file
12
images/windows/scripts/tests/WinAppDriver.Tests.ps1
Normal file
@@ -0,0 +1,12 @@
|
||||
Describe "WinAppDriver" {
|
||||
It "WinAppDriver directory exists" {
|
||||
Test-Path -Path "${env:ProgramFiles(x86)}\Windows Application Driver" | Should -BeTrue
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Developer Mode" {
|
||||
It "Developer Mode is enabled" {
|
||||
$path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock";
|
||||
Get-ItemProperty -Path $path | Select-Object -ExpandProperty "AllowDevelopmentWithoutDevLicense" | Should -Be 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user