Skip to content

Commit

Permalink
fix: add some cypress logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ludtkemorgan committed Feb 20, 2024
1 parent aa6a627 commit 416c0ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sites/public/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,10 @@ Cypress.Commands.add("step15SelectPreferences", (application) => {
// All options with an address need to have it verified
const optionsWithAddress = preference.options.filter((option) => option.address)
optionsWithAddress?.forEach(() => {
cy.log("optionsWithAddress")
cy.goNext()
})

cy.log("last preferences")
cy.goNext()
})
if (preferenceClaimed) {
Expand All @@ -429,6 +430,7 @@ Cypress.Commands.add("step15SelectPreferences", (application) => {

Cypress.Commands.add("step16GeneralPool", () => {
cy.location("pathname").should("include", "applications/preferences/general")
cy.log("generalPool")
cy.goNext()
cy.isNextRouteValid("generalPool")
})
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 416c0ff

Please sign in to comment.