Add UI_TESTS_SCREEN as a disabled env var for quicker debugging. (#619)

This commit is contained in:
Doug
2023-02-23 15:07:33 +00:00
committed by GitHub
parent 87614ca642
commit 5a759d777d
3 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ public enum Tests {
/// Flag indicating whether the app is running the UI tests.
static var isRunningUITests: Bool {
#if DEBUG
ProcessInfo.processInfo.environment["IS_RUNNING_UI_TESTS"] == "1"
ProcessInfo.processInfo.environment["UI_TESTS_SCREEN"] != nil
#else
false
#endif