From 45cadcbe99190f6793bd485221dba02a1f70bfbd Mon Sep 17 00:00:00 2001 From: Rishabh Garg Date: Fri, 11 Mar 2022 20:15:44 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Bumped=20multiple=20tiers=20to=20GA?= =?UTF-8?q?=20(#14311)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs https://github.com/TryGhost/Team/issues/1267 Multiple tiers is coming out of beta - - allows site owners to create multiple tiers - allows setting individual welcome page for each tier - allows setting visibility for individual tiers for portal and themes --- core/shared/labs.js | 4 ++-- test/e2e-frontend/members.test.js | 20 -------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/core/shared/labs.js b/core/shared/labs.js index 47238b73fe..2c91c1560f 100644 --- a/core/shared/labs.js +++ b/core/shared/labs.js @@ -15,6 +15,7 @@ const messages = { // flags in this list always return `true`, allows quick global enable prior to full flag removal const GA_FEATURES = [ + 'multipleProducts', 'tierWelcomePages', 'tierName', 'selectablePortalLinks', @@ -25,8 +26,7 @@ const GA_FEATURES = [ // NOTE: this allowlist is meant to be used to filter out any unexpected // input for the "labs" setting value const BETA_FEATURES = [ - 'activitypub', - 'multipleProducts' + 'activitypub' ]; const ALPHA_FEATURES = [ diff --git a/test/e2e-frontend/members.test.js b/test/e2e-frontend/members.test.js index 9da504777c..75b35f8b2f 100644 --- a/test/e2e-frontend/members.test.js +++ b/test/e2e-frontend/members.test.js @@ -298,13 +298,6 @@ describe('Front-end members behaviour', function () { await loginAsMember(email); }); - it('can read label-only post content', async function () { - await request - .get('/thou-must-be-labelled-vip/') - .expect(200) - .expect(assertContentIsPresent); - }); - it('generates a MemberPageView event', async function () { const spy = sinon.spy(); DomainEvents.subscribe(MemberPageViewEvent, spy); @@ -406,19 +399,6 @@ describe('Front-end members behaviour', function () { }); }); - describe('as paid member with vip label', function () { - before(async function () { - await loginAsMember('vip-paid@test.com'); - }); - - it('can read label-only post content', async function () { - await request - .get('/thou-must-be-labelled-vip/') - .expect(200) - .expect(assertContentIsPresent); - }); - }); - describe('as comped member', function () { before(async function () { await loginAsMember('comped@test.com');