From 4064a22117cdf2772d2491d2d4caa0fdfcea3ed5 Mon Sep 17 00:00:00 2001 From: Cristen Jones Date: Thu, 19 Dec 2024 16:07:32 -0500 Subject: [PATCH] chore: skip flaky smoke test on all staging environments --- cypress/e2e/smoke.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/smoke.cy.js b/cypress/e2e/smoke.cy.js index d44e772a2a..7416723d32 100644 --- a/cypress/e2e/smoke.cy.js +++ b/cypress/e2e/smoke.cy.js @@ -19,8 +19,8 @@ describe("passes smoke test", () => { cy.contains("Contact Us"); cy.contains("Ferry One-Way"); cy.get("#whats-happening-promoted > div").should("have.length", 2); - if (!Cypress.config("baseUrl").includes("dev-green")) { - // these are skipped on dev-green because the test CMS has no events + if (Cypress.config("baseUrl").includes("mbta.com")) { + // these are skipped on dev environments because the test CMS has no events cy.contains("Upcoming Public Meetings and Events"); cy.get("li.m-event").should("have.length.greaterThan", 0); }