Skip to content

Commit 8aae40d

Browse files
turn featureSwitch off
1 parent 3cdd392 commit 8aae40d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

client/components/mma/accountoverview/ManageProduct.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
} from '@guardian/source-foundations';
99
import { useState } from 'react';
1010
import { Link, Navigate, useLocation } from 'react-router-dom';
11+
import { featureSwitches } from '@/shared/featureSwitches';
1112
import { cancellationFormatDate } from '../../../../shared/dates';
12-
import { featureSwitches } from '../../../../shared/featureSwitches';
1313
import type {
1414
MembersDataApiResponse,
1515
ProductDetail,

cypress/e2e/parallel-2/digisubSave.cy.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('Cancel digi sub', () => {
5959
});
6060

6161
it('cancels Digi Sub and cannot go back into journey', () => {
62-
cy.visit('/');
62+
cy.visit('/?withFeature=digisubSave');
6363

6464
cy.findByText('Manage subscription').click();
6565
cy.findByText('Cancel subscription').click();
@@ -77,7 +77,7 @@ describe('Cancel digi sub', () => {
7777
});
7878

7979
it('adds discount Digi Sub and cannot renter journey', () => {
80-
cy.visit('/');
80+
cy.visit('/?withFeature=digisubSave');
8181

8282
cy.findByText('Manage subscription').click();
8383
cy.findByText('Cancel subscription').click();

shared/featureSwitches.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ export const featureSwitches: Record<FeatureSwitchName, boolean> = {
3333
exampleFeature: false,
3434
appSubscriptions: true,
3535
supporterPlusUpdateAmount: true,
36-
digisubSave: true,
36+
digisubSave: false,
3737
};

0 commit comments

Comments
 (0)