Skip to content

Commit

Permalink
Attempt to fix the failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
makeen authored and makeen committed Jan 30, 2025
1 parent 6531795 commit 1957e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/support/routeSupport.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Cypress.Commands.add("searchRouteWithAvoidTollOption", isResponsive => {
cy.wait(2000);
cy.get('[placeholder="To"]').click().type("manly beach sydney", { delay: 200 });
cy.contains("Beach").click({ force: true });
isResponsive ? cy.get('[data-testid="more-action-icon-container"]').click() : cy.contains("Route Options").click();
isResponsive ? cy.get('[data-testid="more-action-icon-container"]').click() : cy.contains("Avoid").click();
cy.contains("Avoid tolls").click();
isResponsive
? cy.get('[data-testid="bottomsheet-header-close-icon"]').click()
Expand All @@ -50,7 +50,7 @@ Cypress.Commands.add("searchRouteWithAvoidFerryOption", isResponsive => {
cy.wait(2000);
cy.get('[placeholder="To"]').click().type("port said", { delay: 200 });
cy.contains("Port Said").click();
isResponsive ? cy.get('[data-testid="more-action-icon-container"]').click() : cy.contains("Route Options").click();
isResponsive ? cy.get('[data-testid="more-action-icon-container"]').click() : cy.contains("Avoid").click();
cy.contains("Avoid ferries").click();
isResponsive
? cy.get('[data-testid="bottomsheet-header-close-icon"]').click()
Expand Down

0 comments on commit 1957e34

Please sign in to comment.