diff --git a/source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/update/UpdateAcquisitionForm.test.tsx b/source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/update/UpdateAcquisitionForm.test.tsx index ba56715d2d..980bfa4a4e 100644 --- a/source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/update/UpdateAcquisitionForm.test.tsx +++ b/source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/update/UpdateAcquisitionForm.test.tsx @@ -107,6 +107,8 @@ describe('UpdateAcquisitionForm component', () => { utils.container.querySelector(`select[name="fileStatusTypeCode"]`) as HTMLSelectElement, getEstimatedCompletionDatePicker: () => utils.container.querySelector(`input[name="estimatedCompletionDate"]`) as HTMLInputElement, + getAssignedDatePicker: () => + utils.container.querySelector(`input[name="assignedDate"]`) as HTMLInputElement, getPossessionDatePicker: () => utils.container.querySelector(`input[name="possessionDate"]`) as HTMLInputElement, getTeamMemberProfileDropDownList: (index = 0) => @@ -164,11 +166,12 @@ describe('UpdateAcquisitionForm component', () => { expect(getByText('test representative comment')).toBeVisible(); }); - it('displays estimated completion and possession dates', async () => { - const { getEstimatedCompletionDatePicker, getPossessionDatePicker } = setup({ initialValues }); + it('displays estimated completion, assigned and possession dates', async () => { + const { getEstimatedCompletionDatePicker, getPossessionDatePicker, getAssignedDatePicker } = setup({ initialValues }); await act(async () => {}); expect(getEstimatedCompletionDatePicker()).toHaveValue('Jul 10, 2024'); expect(getPossessionDatePicker()).toHaveValue('Jul 10, 2025'); + expect(getAssignedDatePicker()).toHaveValue('Dec 17, 2024'); }); it('displays Individual type Owner with data', async () => { diff --git a/source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/update/__snapshots__/UpdateAcquisitionForm.test.tsx.snap b/source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/update/__snapshots__/UpdateAcquisitionForm.test.tsx.snap index ef251aa553..60042f1871 100644 --- a/source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/update/__snapshots__/UpdateAcquisitionForm.test.tsx.snap +++ b/source/frontend/src/features/mapSideBar/acquisition/tabs/fileDetails/update/__snapshots__/UpdateAcquisitionForm.test.tsx.snap @@ -860,7 +860,7 @@ exports[`UpdateAcquisitionForm component > Sub-interest files > renders as expec name="assignedDate" placeholder="MMM DD, YYYY" type="text" - value="Jun 27, 2022" + value="Dec 17, 2024" /> @@ -4554,7 +4554,7 @@ exports[`UpdateAcquisitionForm component > renders as expected 1`] = ` name="assignedDate" placeholder="MMM DD, YYYY" type="text" - value="Jun 27, 2022" + value="Dec 17, 2024" />