You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exempt the app under UI test from the single-instance guard
The guard's test-host check keys off the XCTest environment, which only a
unit test host has — those run inside a real MiniMe process. UI tests drive
MiniMe as its own process through XCUIApplication, which carries none of it,
so the guard was live inside the app under test. With any other copy running
(the installed one, usually) it exited before the runner could see it and
every UI test waited out its timeout.
The UI tests now pass MINIME_UI_TESTING and the guard honours it. The flag
is deliberately not "-"-prefixed, so it can't land in NSArgumentDomain and
shadow an @AppStorage key.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments