From df8bf7198dd247b5d05eda1c58fa184553fdfbda Mon Sep 17 00:00:00 2001 From: Shayne Marc Enzo Ahchoon Date: Tue, 22 Oct 2024 14:48:54 +0100 Subject: [PATCH] WSTEAM1-1349: Update --- cypress/e2e/pages/articles/testsForLiteOnly.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/pages/articles/testsForLiteOnly.js b/cypress/e2e/pages/articles/testsForLiteOnly.js index e355b866b29..255cfe60cb6 100644 --- a/cypress/e2e/pages/articles/testsForLiteOnly.js +++ b/cypress/e2e/pages/articles/testsForLiteOnly.js @@ -1,10 +1,11 @@ /* eslint-disable import/prefer-default-export */ +import { liteEnabledServices } from '#app/components/LiteSiteCta/liteSiteConfig'; + export const testsForLiteOnly = ({ service, pageType }) => { describe(`Running testsForLiteOnly for ${service} ${pageType}`, () => { describe('CTA: Lite', () => { it('should render a call to action component', () => { - const liteSiteEnabledList = ['gahuza']; - if (liteSiteEnabledList.includes(service)) { + if (liteEnabledServices.includes(service)) { cy.get('[data-e2e="lite-cta"]').should('be.visible'); } });