From a9b373ea073f9f0c73908bf492182e26e1f5c053 Mon Sep 17 00:00:00 2001 From: Isabella-Mitchell Date: Wed, 11 Feb 2026 14:58:16 +0000 Subject: [PATCH] WS-NA: Updates chartbeat import --- ws-nextjs-app/cypress/e2e/onDemandAudio/tests.ts | 2 +- ws-nextjs-app/cypress/support/helpers/chartbeatTests.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ws-nextjs-app/cypress/e2e/onDemandAudio/tests.ts b/ws-nextjs-app/cypress/e2e/onDemandAudio/tests.ts index 97f0bcecf9a..2a729c78f34 100644 --- a/ws-nextjs-app/cypress/e2e/onDemandAudio/tests.ts +++ b/ws-nextjs-app/cypress/e2e/onDemandAudio/tests.ts @@ -1,7 +1,7 @@ /* eslint-disable cypress/no-unnecessary-waiting */ /* eslint-disable consistent-return */ import { getEpisodeAvailability } from '#cypress/support/helpers/onDemandRadioTv'; -import chartbeatTests from '#cypress/support/helpers/chartbeatTests'; +import chartbeatTests from '../../support/helpers/chartbeatTests'; export default ({ service, pageType, path, variant = 'default' }) => { describe(`Tests for ${service} ${pageType}`, () => { diff --git a/ws-nextjs-app/cypress/support/helpers/chartbeatTests.ts b/ws-nextjs-app/cypress/support/helpers/chartbeatTests.ts index ffbfb97a51d..0e46703dc2f 100644 --- a/ws-nextjs-app/cypress/support/helpers/chartbeatTests.ts +++ b/ws-nextjs-app/cypress/support/helpers/chartbeatTests.ts @@ -1,9 +1,9 @@ export default () => { describe('Chartbeat', () => { it('should have a script with src value set to chartbeat source', () => { - cy.get(`script[src="https://static.chartbeat.com/js/chartbeat.js"]`).should( - 'exist', - ); + cy.get( + `script[src="https://static.chartbeat.com/js/chartbeat.js"]`, + ).should('exist'); }); });