mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
* remove Validate-* scripts * Remove references to validation scripts from .json files * Separate "It"s by new lines * Remove new line before the first "It" * Separate "It"s by new lines * remove 32-bit WinAppDriver check * remove explicit variable definition Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
11 lines
396 B
PowerShell
11 lines
396 B
PowerShell
Describe "WinAppDriver" {
|
|
It "WinAppDriver directory exists" {
|
|
Test-Path -Path "${env:ProgramFiles(x86)}\Windows Application Driver" | Should -BeTrue
|
|
}
|
|
|
|
It "Developer Mode is enabled" {
|
|
$path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock";
|
|
Get-ItemProperty -Path $path | Select-Object -ExpandProperty "AllowDevelopmentWithoutDevLicense" | Should -Be 1
|
|
}
|
|
}
|