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
|
|
|
|
|
}
|
2021-08-04 22:35:44 +03:00
|
|
|
}
|
2020-07-30 12:12:49 +05:00
|
|
|
|
2021-08-04 22:35:44 +03: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
|
|
|
|
|
}
|
|
|
|
|
}
|