Skip to content

Commit

Permalink
Do not run NTP Search Box experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
jotaemepereira committed Nov 11, 2024
1 parent effc243 commit 2562dc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DuckDuckGo/HomePage/Model/NewTabPageSearchBoxExperiment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2562dc6

Please sign in to comment.