Files
runner-images/images/windows/scripts/tests/WinAppDriver.Tests.ps1
T

13 lines
426 B
PowerShell
Raw Normal View History

2020-07-30 12:12:49 +05:00
Describe "WinAppDriver" {
It "WinAppDriver directory exists" {
Test-Path -Path "${env:ProgramFiles(x86)}\Windows Application Driver" | Should -BeTrue
}
}
2020-07-30 12:12:49 +05:00
Describe "Developer Mode" {
2020-07-30 12:12:49 +05:00
It "Developer Mode is enabled" {
$path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock";
Get-ItemProperty -Path $path | Select-Object -ExpandProperty "AllowDevelopmentWithoutDevLicense" | Should -Be 1
}
}