Skip to content

Commit 976af81

Browse files
authored
Merge pull request #8250 from woocommerce/issue/8235-aa-tests
Update logged-out A/A test name and re-add logged-in A/A test
2 parents 05cec1a + 4abc2e8 commit 976af81

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Experiments/Experiments/ABTest.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ public enum ABTest: String, CaseIterable {
77
/// `An enum with no cases cannot declare a raw type`
88
case null
99

10+
/// A/A test to make sure there is no bias in the logged out state.
11+
/// Experiment ref: pbxNRc-1QS-p2
12+
case aaTestLoggedIn = "woocommerceios_explat_aa_test_logged_in_202212_v2"
13+
1014
/// A/A test to make sure there is no bias in the logged out state.
1115
/// Experiment ref: pbxNRc-1S0-p2
12-
case aaTestLoggedOut = "woocommerceios_explat_aa_test_logged_out_202211"
16+
case aaTestLoggedOut = "woocommerceios_explat_aa_test_logged_out_202212_v2"
1317

1418
/// A/B test to measure the sign-in success rate when only WPCom login is enabled.
1519
/// Experiment ref: pbxNRc-27s-p2
@@ -39,7 +43,7 @@ public enum ABTest: String, CaseIterable {
3943
/// When adding a new experiment, add it to the appropriate case depending on its context (logged-in or logged-out experience).
4044
public var context: ExperimentContext {
4145
switch self {
42-
case .productsOnboardingBanner, .productsOnboardingTemplateProducts, .nativeJetpackSetupFlow:
46+
case .aaTestLoggedIn, .productsOnboardingBanner, .productsOnboardingTemplateProducts, .nativeJetpackSetupFlow:
4347
return .loggedIn
4448
case .aaTestLoggedOut, .abTestLoginWithWPComOnly:
4549
return .loggedOut

0 commit comments

Comments
 (0)