Skip to content

Commit

Permalink
remove ads-in-merch ab test
Browse files Browse the repository at this point in the history
  • Loading branch information
SiAdcock committed Nov 16, 2023
1 parent b82b18a commit 9636793
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 45 deletions.
10 changes: 0 additions & 10 deletions common/app/conf/switches/ABTestSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@ trait ABTestSwitches {
exposeClientSide = true,
)

Switch(
ABTests,
"ab-ads-in-merch",
"Test the commercial impact of showing adverts in merchandising-high and merchandising slots",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
sellByDate = Some(LocalDate.of(2023, 11, 30)),
exposeClientSide = true,
)

Switch(
ABTests,
"ab-elements-manager",
Expand Down
11 changes: 11 additions & 0 deletions common/app/conf/switches/CommercialSwitches.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package conf.switches

import java.time.LocalDate
import conf.switches.Expiry.never
import conf.switches.Owner.group
import conf.switches.SwitchGroup.{Commercial, CommercialPrebid, Membership}
Expand Down Expand Up @@ -431,4 +432,14 @@ trait PrebidSwitches {
sellByDate = never,
exposeClientSide = true,
)

val adsInMerch: Switch = Switch(
group = Commercial,
name = "ads-in-merch",
description = "Enable showing adverts in merchandising-high and merchandising slots",
owners = group(Commercial),
safeState = Off,
sellByDate = Some(LocalDate.of(2023, 12, 4)),
exposeClientSide = true,
)
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import type { ABTest } from '@guardian/ab-core';
import { getUrlVars } from 'lib/url';
import { isInABTestSynchronous } from '../experiments/ab';
import { adsInMerch } from '../experiments/tests/ads-in-merch';
import { integrateIma } from '../experiments/tests/integrate-ima';

const defaultClientSideTests: ABTest[] = [
/* linter, please keep this array multi-line */
integrateIma,
adsInMerch,
];

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ABTest } from '@guardian/ab-core';
import { adsInMerch } from './tests/ads-in-merch';
import { consentlessAds } from './tests/consentlessAds';
import { deeplyReadArticleFooterTest } from './tests/deeply-read-article-footer';
import { elementsManager } from './tests/elements-manager';
Expand All @@ -18,7 +17,6 @@ export const concurrentTests: readonly ABTest[] = [
deeplyReadArticleFooterTest,
consentlessAds,
integrateIma,
adsInMerch,
elementsManager,
prebidKargo,
];

This file was deleted.

0 comments on commit 9636793

Please sign in to comment.