diff --git a/api/src/utilities/application-export-helpers.ts b/api/src/utilities/application-export-helpers.ts index 2ccd627c94..aa83895442 100644 --- a/api/src/utilities/application-export-helpers.ts +++ b/api/src/utilities/application-export-helpers.ts @@ -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`, diff --git a/api/test/unit/utilities/application-export-helpers.spec.ts b/api/test/unit/utilities/application-export-helpers.spec.ts index 79abc0393a..98cb8dd664 100644 --- a/api/test/unit/utilities/application-export-helpers.spec.ts +++ b/api/test/unit/utilities/application-export-helpers.spec.ts @@ -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`, diff --git a/sites/partners/cypress/e2e/default/05-paperApplication.spec.ts b/sites/partners/cypress/e2e/default/05-paperApplication.spec.ts index f705929b36..3577abde33 100644 --- a/sites/partners/cypress/e2e/default/05-paperApplication.spec.ts +++ b/sites/partners/cypress/e2e/default/05-paperApplication.spec.ts @@ -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) diff --git a/sites/partners/cypress/support/commands.js b/sites/partners/cypress/support/commands.js index 59a51ad48d..cb4e36fcfb 100644 --- a/sites/partners/cypress/support/commands.js +++ b/sites/partners/cypress/support/commands.js @@ -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 = []) => {