Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ws-nextjs-app/cypress/e2e/onDemandAudio/tests.ts
Original file line number Diff line number Diff line change
@@ -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}`, () => {
Expand Down
6 changes: 3 additions & 3 deletions ws-nextjs-app/cypress/support/helpers/chartbeatTests.ts
Original file line number Diff line number Diff line change
@@ -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');
});
});

Expand Down
Loading