Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add onwards content article test #27632

Merged
merged 1 commit into from
Nov 21, 2024
Merged
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
13 changes: 12 additions & 1 deletion common/app/conf/switches/ABTestSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,18 @@ trait ABTestSwitches {
"Test the impact of showing the user a component that highlights the Guardians journalism",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
sellByDate = Some(LocalDate.of(2024, 12, 18)),
sellByDate = Some(LocalDate.of(2025, 1, 29)),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was extending this other switch intended to be part of this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't want this footgun catching us out just before christmas

exposeClientSide = true,
highImpact = false,
)

Switch(
ABTests,
"ab-onwards-content-article",
"Test the impact of showing the galleries onwards content component on article pages",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
sellByDate = Some(LocalDate.of(2025, 1, 29)),
exposeClientSide = true,
highImpact = false,
)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
export const onwardsContentArticle = {
id: 'onwardsContentArticle',
start: '2024-11-25',
expiry: '2025-01-29',
author: '[email protected]',
description:
'Test the impact of showing the galleries onwards content component on article pages.',
audience: 0 / 100,
audienceOffset: 0 / 100,
audienceCriteria: 'Article pages',
successMeasure:
'Users are more likely to click a link in the onward content component.',
canRun: () => true,
variants: [
{
id: 'control',
test: () => {},
},
{
id: 'variant',
test: () => {},
},
],
};