Commit 60096c6
committed
Force window presentation in demo mode for UI screenshot tests
Use defaultLaunchBehavior(.presented) and restorationBehavior(.disabled)
on macOS demo-mode launches so the WindowGroup main window is reliably
created when XCUITest runs the suite under
runsForEachTargetApplicationUIConfiguration. The previous reliance on
implicit auto-presentation broke after a GitHub-hosted runner image
update around 20260402, where the first scene no longer materialized
under that special launch mode and accessibility hierarchy contained
only the menu bar.1 parent 2945a7d commit 60096c6
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
0 commit comments