File tree Expand file tree Collapse file tree 3 files changed +49
-0
lines changed
Expand file tree Collapse file tree 3 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : MacOS VoiceOver
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ start-voiceover-and-move-right :
11+ runs-on : ${{ matrix.os }}
12+ continue-on-error : true
13+ strategy :
14+ matrix :
15+ os : [macos-13, macos-14, macos-15]
16+ steps :
17+ - uses : actions/checkout@v3
18+ - run : |
19+ # Start VoiceOver
20+ /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOverStarter
21+
22+ # Given VoiceOver time to start
23+ sleep 1
24+
25+ # Prove VoiceOver process is running
26+ ps aux | egrep "[V]oiceOver"
27+
28+ # Attempt to control VoiceOver using AppleScript
29+ /usr/bin/osascript voiceOver.applescript
Original file line number Diff line number Diff line change 1+ # macos-15 VoiceOver Error Demo
2+
3+ Simple workflow to demonstrate macos-15 issues with VoiceOver AppleScript support reported in https://github.com/actions/runner-images/issues/11257
Original file line number Diff line number Diff line change 1+ tell application " VoiceOver"
2+ -- Ensure VoiceOver is focused
3+
4+ activate
5+
6+ -- Attempt to move the VO cursor right 5 times.
7+ -- This is where we can see evidence of macos-15 agents not having
8+ -- AppleScript support enabled for VoiceOver as it errors with:
9+ -- "execution error: VoiceOver got an error: AppleEvent handler failed. (-10000)"
10+
11+ tell vo cursor to move right
12+ tell vo cursor to move right
13+ tell vo cursor to move right
14+ tell vo cursor to move right
15+ tell vo cursor to move right
16+
17+ end tell
You can’t perform that action at this time.
0 commit comments