diff --git a/apps/meteor/tests/e2e/feature-preview.spec.ts b/apps/meteor/tests/e2e/feature-preview.spec.ts index 748bd9c4e10b..e129ef257e00 100644 --- a/apps/meteor/tests/e2e/feature-preview.spec.ts +++ b/apps/meteor/tests/e2e/feature-preview.spec.ts @@ -9,6 +9,14 @@ test.describe.serial('feature preview', () => { let poHomeChannel: HomeChannel; let poAccountProfile: AccountProfile; + test.beforeAll(async ({ api }) => { + await setSettingValueById(api, 'Accounts_AllowFeaturePreview', true); + }); + + test.afterAll(async ({ api }) => { + await setSettingValueById(api, 'Accounts_AllowFeaturePreview', false); + }); + test.beforeEach(async ({ page }) => { poHomeChannel = new HomeChannel(page); poAccountProfile = new AccountProfile(page);