diff --git a/images/macos/tests/System.Tests.ps1 b/images/macos/tests/System.Tests.ps1 index 50fa16f8..f5493b1d 100644 --- a/images/macos/tests/System.Tests.ps1 +++ b/images/macos/tests/System.Tests.ps1 @@ -49,7 +49,7 @@ Describe "Screen Resolution" { Describe "Open windows" { It "Opened windows not found" { - $cmd = "osascript -e 'tell application \""System Events\"" to get every window of (every process whose class of windows contains window)'" + $cmd = "osascript -e 'tell application ""System Events"" to get every window of (every process whose class of windows contains window)'" $openWindows = bash -c $cmd $openWindows.Split(",").Trim() | Where-Object { $_ -notmatch "NotificationCenter" } | Should -BeNullOrEmpty }