[macOS] Update condition for automation mode (#7626)

This commit is contained in:
Erik Bershel
2023-05-24 15:34:44 +02:00
committed by GitHub
parent 7042fdacbc
commit 74433f1ca8
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ done
rm -f ./add-certificate
# enable-automationmode-without-authentication
if is_Monterey; then
if ! is_BigSur; then
retry=10
while [ $retry -gt 0 ]; do
{

View File

@@ -55,7 +55,7 @@ Describe "Open windows" -Skip:(isVeertu) {
}
Describe "AutomationModeTool" {
It "Does not require user authentication" -Skip:(-not $os.IsMonterey) {
It "Does not require user authentication" -Skip:($os.IsBigSur) {
automationmodetool | Out-String | Should -Match "DOES NOT REQUIRE"
}
}