diff --git a/frontend/src/components/inputs/ChildBirthdayInput.test.tsx b/frontend/src/components/inputs/ChildBirthdayInput.test.tsx
index 4c5ea5d..cfea8a0 100644
--- a/frontend/src/components/inputs/ChildBirthdayInput.test.tsx
+++ b/frontend/src/components/inputs/ChildBirthdayInput.test.tsx
@@ -113,4 +113,28 @@ describe('ChildBirthdayInput', () => {
)
expect(screen.getByTestId('birthday-input-fieldset')).toBeInTheDocument()
})
+
+ it('hides legend when preschool field is not present and shows it when present', () => {
+ const onBirthDateChange = vi.fn()
+ const onPreschoolStartDateChange = vi.fn()
+
+ // Without preschool field
+ const { rerender } = render(
+