mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
[macOS] Update condition for automation mode (#7626)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user