Skip to content

Commit

Permalink
WSTEAM1-1349: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
shayneahchoon committed Oct 22, 2024
1 parent 072922c commit df8bf71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cypress/e2e/pages/articles/testsForLiteOnly.js
Original file line number Diff line number Diff line change
@@ -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');
}
});
Expand Down

0 comments on commit df8bf71

Please sign in to comment.