From cb6ce9fa44ae628f71ae9533768a036cbd861185 Mon Sep 17 00:00:00 2001 From: Anthony Shull Date: Fri, 7 Jun 2024 09:49:01 -0500 Subject: [PATCH] cypress --- cypress/e2e/smoke.cy.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cypress/e2e/smoke.cy.js b/cypress/e2e/smoke.cy.js index d5ceb60296..dc4d015f0d 100644 --- a/cypress/e2e/smoke.cy.js +++ b/cypress/e2e/smoke.cy.js @@ -155,14 +155,8 @@ describe("passes smoke test", () => { // opens the date picker cy.contains("#trip-plan-datepicker").should("not.exist"); - cy.get("#trip-plan-departure-title").click(); - cy.get("#trip-plan-datepicker"); - - // updates title with selected departure option cy.get('label[for="arrive"]').click(); - cy.get("#trip-plan-departure-title").should("include.text", "Arrive by"); - cy.get('label[for="depart"]').click(); - cy.get("#trip-plan-departure-title").should("include.text", "Depart at"); + cy.get("#trip-plan-datepicker"); // shortcut /from/ - marker A prepopulated cy.visit("/trip-planner/from/North+Station");