Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ab-testing/config/abTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,16 +196,17 @@ const ABTests: ABTest[] = [
shouldForceMetricsCollection: false,
},
{
name: "fronts-and-curation-editorial-headline-test",
description: "Allow editorial headline A/B tests to run on web",
name: "fronts-and-curation-editorial-test",
description: "Allow editorial A/B tests to run on web",
owners: [
"fronts.and.curation@guardian.co.uk",
"ab.test.mission@guardian.co.uk",
],
status: "ON",
expirationDate: "2036-08-12",
type: "server",
audienceSize: 0 / 100,
audienceSize: 100 / 100,
audienceSpace: "E",
groups: ["a", "b"],
shouldForceMetricsCollection: false,
},
Expand Down
18 changes: 9 additions & 9 deletions dotcom-rendering/src/model/enhanceCards.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithNoEditorialTest,
{
'fronts-and-curation-editorial-headline-test': 'a',
'fronts-and-curation-editorial-test': 'a',
},
true,
'test-front',
Expand All @@ -691,7 +691,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithEditorialTest,
{
'fronts-and-curation-editorial-headline-test': 'a',
'fronts-and-curation-editorial-test': 'a',
},
true,
'invalid-test-front',
Expand All @@ -704,7 +704,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithEditorialTest,
{
'fronts-and-curation-editorial-headline-test': 'a',
'fronts-and-curation-editorial-test': 'a',
},
false,
'test-front',
Expand All @@ -717,7 +717,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithEditorialTest,
{
'fronts-and-curation-editorial-headline-test': 'a',
'fronts-and-curation-editorial-test': 'a',
},
true,
'test-front',
Expand All @@ -730,7 +730,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithEditorialTest,
{
'fronts-and-curation-editorial-headline-test': 'b',
'fronts-and-curation-editorial-test': 'b',
},
true,
'test-front',
Expand All @@ -743,7 +743,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithEditorialTest,
{
'fronts-and-curation-editorial-headline-test': 'c',
'fronts-and-curation-editorial-test': 'c',
},
true,
'test-front',
Expand All @@ -756,7 +756,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithEditorialTestWithUndefinedVariantMeta,
{
'fronts-and-curation-editorial-headline-test': 'a',
'fronts-and-curation-editorial-test': 'a',
},
true,
'test-front',
Expand All @@ -769,7 +769,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithExpiredEditorialTest,
{
'fronts-and-curation-editorial-headline-test': 'a',
'fronts-and-curation-editorial-test': 'a',
},
true,
'test-front',
Expand All @@ -782,7 +782,7 @@ describe('Enhance Cards', () => {
decideHeadline(
cardWithManuallyEndedEditorialTest,
{
'fronts-and-curation-editorial-headline-test': 'a',
'fronts-and-curation-editorial-test': 'a',
},
true,
'test-front',
Expand Down
3 changes: 1 addition & 2 deletions dotcom-rendering/src/model/enhanceCards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ export const decideHeadline = (
): string => {
const defaultHeadline = faciaCard.header.headline;

const testBucket =
serverSideABTests['fronts-and-curation-editorial-headline-test'];
const testBucket = serverSideABTests['fronts-and-curation-editorial-test'];

const activeEditorialTest = findActiveEditorialTest(
faciaCard.properties.tests,
Expand Down
Loading