Skip to content

Commit

Permalink
fix: piece by piece
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinBuyck committed Nov 20, 2024
1 parent a68d484 commit 3673247
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
4 changes: 0 additions & 4 deletions api/src/utilities/application-export-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ export const getExportHeaders = (
path: 'additionalPhoneNumber',
label: 'Primary Applicant Additional Phone Number',
},
{
path: 'contactPreferences',
label: 'Primary Applicant Preferred Contact Type',
},
{
path: 'applicant.applicantAddress.street',
label: `Primary Applicant Street`,
Expand Down
4 changes: 0 additions & 4 deletions api/test/unit/utilities/application-export-helpers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ describe('Testing application export helpers', () => {
path: 'additionalPhoneNumber',
label: 'Primary Applicant Additional Phone Number',
},
{
path: 'contactPreferences',
label: 'Primary Applicant Preferred Contact Type',
},
{
path: 'applicant.applicantAddress.street',
label: `Primary Applicant Street`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("Paper Application Tests", () => {
cy.signOut()
})

it("fill paper application form completely", () => {
it.only("fill paper application form completely", () => {
cy.fixture("application").then((application) => {
cy.fillPrimaryApplicant(application)
cy.fillAlternateContact(application)
Expand Down
4 changes: 1 addition & 3 deletions sites/partners/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ Cypress.Commands.add("fillPrimaryApplicant", (application, fieldsToSkip = []) =>
{ id: "application.applicant.applicantAddress.state", fieldKey: "applicant.address.state" },
]

const fieldsToClick = [{ id: "email", fieldKey: "email" }]

fillFields(application, fieldsToType, fieldsToSelect, fieldsToClick, fieldsToSkip)
fillFields(application, fieldsToType, fieldsToSelect, [], fieldsToSkip)
})

Cypress.Commands.add("fillAlternateContact", (application, fieldsToSkip = []) => {
Expand Down

0 comments on commit 3673247

Please sign in to comment.