Skip to content

Commit

Permalink
Merge pull request #27523 from guardian/doml/ab-test-add-variant
Browse files Browse the repository at this point in the history
Add variant to UsaExpandableMarketingCard AB test
  • Loading branch information
domlander authored Oct 9, 2024
2 parents 7bfb7e7 + 083726e commit 7e7eb60
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import type { ABTest } from '@guardian/ab-core';
import { remoteRRHeaderLinksTest } from './tests/remote-header-test';
import { signInGateMainControl } from './tests/sign-in-gate-main-control';
import { signInGateMainVariant } from './tests/sign-in-gate-main-variant';
import { usBigEvents } from './tests/us-big-events';
import { UsaExpandableMarketingCard } from './tests/usa-expandable-marketing-card';

// keep in sync with ab-tests in dotcom-rendering
// https://github.com/guardian/dotcom-rendering/blob/main/dotcom-rendering/src/web/experiments/ab-tests.ts
export const concurrentTests: readonly ABTest[] = [
signInGateMainVariant,
signInGateMainControl,
remoteRRHeaderLinksTest,
usBigEvents,
UsaExpandableMarketingCard,
];
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const usBigEvents = {
id: 'UsBigEvents',
export const UsaExpandableMarketingCard = {
id: 'UsaExpandableMarketingCard',
start: '2024-10-02',
expiry: '2024-12-18',
author: '[email protected]',
Expand All @@ -16,7 +16,11 @@ export const usBigEvents = {
test: () => {},
},
{
id: 'variant',
id: 'variant-free',
test: () => {},
},
{
id: 'variant-bubble',
test: () => {},
},
],
Expand Down

0 comments on commit 7e7eb60

Please sign in to comment.