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'); }); });