diff --git a/packages/account/src/Components/poi/poi-confirm-with-example-form-container/__tests__/poi-confirm-with-example-form-container.spec.tsx b/packages/account/src/Components/poi/poi-confirm-with-example-form-container/__tests__/poi-confirm-with-example-form-container.spec.tsx index 916e0dbb127b..78319bfdbb2c 100644 --- a/packages/account/src/Components/poi/poi-confirm-with-example-form-container/__tests__/poi-confirm-with-example-form-container.spec.tsx +++ b/packages/account/src/Components/poi/poi-confirm-with-example-form-container/__tests__/poi-confirm-with-example-form-container.spec.tsx @@ -52,16 +52,11 @@ describe('', () => { getChangeableFields: jest.fn(() => ['first_name', 'last_name', 'date_of_birth']), onFormConfirm: jest.fn(), }; - const clarification_message = /To avoid delays, enter your/; - const checkbox_label = - 'I confirm that the name and date of birth above match my chosen identity document (see below)'; it('should render PersonalDetailsForm with image and checkbox', async () => { render(); expect(await screen.findByText('PoiNameDobExampleImage')).toBeInTheDocument(); - expect(screen.getByText(clarification_message)).toBeInTheDocument(); - expect(screen.getByText(checkbox_label)).toBeInTheDocument(); const checkbox_el: HTMLInputElement = screen.getByRole('checkbox'); expect(checkbox_el.checked).toBeFalsy();