Skip to content

Commit

Permalink
cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed Jun 7, 2024
1 parent 0e24c3f commit cb6ce9f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cypress/e2e/smoke.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit cb6ce9f

Please sign in to comment.