diff --git a/DuckDuckGo/HomePage/Model/NewTabPageSearchBoxExperiment.swift b/DuckDuckGo/HomePage/Model/NewTabPageSearchBoxExperiment.swift index eb49a31193..de1fbea87b 100644 --- a/DuckDuckGo/HomePage/Model/NewTabPageSearchBoxExperiment.swift +++ b/DuckDuckGo/HomePage/Model/NewTabPageSearchBoxExperiment.swift @@ -75,6 +75,9 @@ protocol NewTabPageSearchBoxExperimentCohortDeciding { struct DefaultNewTabPageSearchBoxExperimentCohortDecider: NewTabPageSearchBoxExperimentCohortDeciding { var cohort: NewTabPageSearchBoxExperiment.Cohort? { + if NSApp.runType == .uiTests { + return nil + } // We enroll all new users if AppDelegate.isNewUser {