mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 15:20:11 +00:00
[macOS] Update condition for automation mode (#7626)
This commit is contained in:
@@ -57,7 +57,7 @@ done
|
|||||||
rm -f ./add-certificate
|
rm -f ./add-certificate
|
||||||
|
|
||||||
# enable-automationmode-without-authentication
|
# enable-automationmode-without-authentication
|
||||||
if is_Monterey; then
|
if ! is_BigSur; then
|
||||||
retry=10
|
retry=10
|
||||||
while [ $retry -gt 0 ]; do
|
while [ $retry -gt 0 ]; do
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ Describe "Open windows" -Skip:(isVeertu) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Describe "AutomationModeTool" {
|
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"
|
automationmodetool | Out-String | Should -Match "DOES NOT REQUIRE"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user