Skip to content

Commit

Permalink
update e2e to enable the feature
Browse files Browse the repository at this point in the history
  • Loading branch information
hakwookim committed Sep 10, 2024
1 parent 51a0682 commit f9fa0d0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@

import { isolateTests } from '../../../support/utils/test-isolation';
import * as siteTheme from '../../../helpers/site-theme';
import { FeaturesConfig } from '@spartacus/core';

context('Site Theme', { testIsolation: false }, () => {
isolateTests();
before(() => {
cy.cxConfig({
features: {
useNewSiteThemeSwitcher: true,
},
} as FeaturesConfig);
cy.visit('/');
// TODO: (CXSPA-8363) Remove the manual addition of the Theme component in e2e test when sample data is available
siteTheme.interceptToAddThemeCompnent();
Expand Down

0 comments on commit f9fa0d0

Please sign in to comment.