Skip to content

Commit

Permalink
Update test to align with test data
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevespi committed Nov 26, 2024
1 parent 1fd2723 commit 5dfcbc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/cypress/e2e/complaint-search.v2.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ describe("Complaint Search Functionality", () => {
cy.get("#comp-zone-filter").should("not.exist");

cy.get("#comp-filter-btn").click({ force: true });
cy.selectItemById("zone-select-id", "South Island");
cy.get("#comp-zone-filter").should("exist");
cy.selectItemById("region-select-filter-id", "Okanagan");
cy.get("#comp-region-filter").should("exist");

cy.get("#complaint-search").click({ force: true });
cy.get("#complaint-search").clear().type("wildlife{enter}"); //-- {enter} will perform an enter keypress
Expand All @@ -182,7 +182,7 @@ describe("Complaint Search Functionality", () => {
// Verify that the search parameters set before leaving the page were retained
cy.get("#complaint-search").should("have.value", "wildlife");
cy.verifyMapMarkerExists(true);
cy.get("#comp-zone-filter").contains("South Island");
cy.get("#comp-region-filter").contains("Okanagan");

cy.get("#multi-point-map")
.find("div.leaflet-marker-icon")
Expand Down

0 comments on commit 5dfcbc0

Please sign in to comment.