Skip to content

Commit

Permalink
fix: change the address in cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
ludtkemorgan committed Feb 20, 2024
1 parent aa6a627 commit 78976dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions sites/public/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default defineConfig({
video: true,
videoUploadOnPasses: false,
numTestsKeptInMemory: 0,
scrollBehavior: "bottom",

env: {
codeCoverage: {
Expand Down
4 changes: 2 additions & 2 deletions sites/public/cypress/mockData/applicationData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ export const ElmVillageApplication = {
checked: true,
extraData: [],
address: {
street: "1600 pennsylvania ave",
street: "2 15th St NW",
city: "Washington",
state: "District Of Columbia",
zipCode: "20005",
zipCode: "20024",
},
},
],
Expand Down
1 change: 0 additions & 1 deletion sites/public/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ Cypress.Commands.add("step15SelectPreferences", (application) => {
optionsWithAddress?.forEach(() => {
cy.goNext()
})

cy.goNext()
})
if (preferenceClaimed) {
Expand Down
2 changes: 1 addition & 1 deletion sites/public/src/pages/applications/preferences/all.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useFormConductor } from "../../../lib/hooks"
import { MultiselectQuestionsApplicationSectionEnum } from "@bloom-housing/shared-helpers/src/types/backend-swagger"

const ApplicationPreferencesAll = () => {
const { listing } = useFormConductor("preferences")
const { listing } = useFormConductor("preferencesAll")

return (
<ApplicationMultiselectQuestionStep
Expand Down

0 comments on commit 78976dd

Please sign in to comment.