Skip to content

Commit b19a34c

Browse files
use new abTest framework for Admiral adblock recovery
1 parent 97e6422 commit b19a34c

5 files changed

Lines changed: 130 additions & 137 deletions

File tree

ab-testing/config/abTests.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,18 @@ const ABTests: ABTest[] = [
107107
groups: ["control", "stacked", "carousel"],
108108
shouldForceMetricsCollection: false,
109109
},
110+
{
111+
name: "growth-admiral-adblock-recovery",
112+
description: "Test Admiral ad blocker detection and recovery modal",
113+
owners: ["growth.dev@guardian.co.uk"],
114+
expirationDate: "2027-01-21",
115+
type: "client",
116+
status: "ON",
117+
audienceSize: 20 / 100,
118+
audienceSpace: "A",
119+
groups: ["control", "variant-recover"],
120+
shouldForceMetricsCollection: false,
121+
},
110122
];
111123

112124
const activeABtests = ABTests.filter((test) => test.status === "ON");

ab-testing/config/types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ type AudienceSpace = Map<string, FastlyTestParams>;
44

55
type AllSpace = Map<string, FastlyTestParams[]>;
66

7-
type Team = "commercial" | "webex" | "thefilter" | "fronts-and-curation";
7+
type Team =
8+
| "commercial"
9+
| "webex"
10+
| "thefilter"
11+
| "fronts-and-curation"
12+
| "growth";
813

914
type TestName = `${Team}-${string}`;
1015

0 commit comments

Comments
 (0)