diff --git a/sites/partners/cypress/e2e/default/03-listing.spec.ts b/sites/partners/cypress/e2e/default/03-listing.spec.ts index 4190ba7e17..b458252395 100644 --- a/sites/partners/cypress/e2e/default/03-listing.spec.ts +++ b/sites/partners/cypress/e2e/default/03-listing.spec.ts @@ -205,8 +205,8 @@ describe("Listing Management Tests", () => { cy.getByID("buildingAddress.state").contains("CA") cy.getByID("buildingAddress.zipCode").contains(listing["buildingAddress.zipCode"]) cy.get("#yearBuilt").contains(listing["yearBuilt"]) - cy.get("#longitude").contains("-122.40078") - cy.get("#latitude").contains("37.79006") + cy.getByID("longitude").should("include.text", "-122.4") + cy.getByID("latitude").should("include.text", "37.7") cy.get("#reservedCommunityType").contains(listing["reservedCommunityType.id"]) cy.get("#reservedCommunityDescription").contains(listing["reservedCommunityDescription"]) cy.getByTestId("unit-types-or-individual").contains("Unit Types") diff --git a/sites/partners/src/components/listings/PaperListingForm/UnitForm.tsx b/sites/partners/src/components/listings/PaperListingForm/UnitForm.tsx index fa192c97d9..878cd0cef3 100644 --- a/sites/partners/src/components/listings/PaperListingForm/UnitForm.tsx +++ b/sites/partners/src/components/listings/PaperListingForm/UnitForm.tsx @@ -593,7 +593,7 @@ const UnitForm = ({ onSubmit, onClose, defaultUnit, nextId, draft }: UnitFormPro