Skip to content

Commit

Permalink
chore: skip flaky smoke test on all staging environments
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Dec 19, 2024
1 parent c35dbff commit 4064a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/smoke.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4064a22

Please sign in to comment.