diff --git a/cypress/e2e/pages/articles/index.cy.js b/cypress/e2e/pages/articles/index.cy.js index b1ac8cf4291..3044908ce6e 100644 --- a/cypress/e2e/pages/articles/index.cy.js +++ b/cypress/e2e/pages/articles/index.cy.js @@ -195,18 +195,9 @@ const nonSmokeCanonicalTestSuites = [ }, ]; -/** - * TODO: Determine whether when running scheduled E2Es, should we run the smoke URLs too? - * Or should we only run the non-smoke tests - and leave the smoke tests for the Simorgh CD pipeline - */ -let canonicalTestSuites = [ - ...nonSmokeCanonicalTestSuites, - ...smokeCanonicalTestSuites, -]; - -if (Cypress.env.SMOKE) { - canonicalTestSuites = smokeCanonicalTestSuites; -} +const canonicalTestSuites = Cypress.env.SMOKE + ? smokeCanonicalTestSuites + : nonSmokeCanonicalTestSuites; const ampTestSuites = canonicalTestSuites.map(testSuite => { return {