diff --git a/packages/dnb-eufemia/src/extensions/forms/blocks/ChildrenWithAge/__tests__/ChildrenWithAge.test.tsx b/packages/dnb-eufemia/src/extensions/forms/blocks/ChildrenWithAge/__tests__/ChildrenWithAge.test.tsx index f942a9cc9df..6b2f4e52755 100644 --- a/packages/dnb-eufemia/src/extensions/forms/blocks/ChildrenWithAge/__tests__/ChildrenWithAge.test.tsx +++ b/packages/dnb-eufemia/src/extensions/forms/blocks/ChildrenWithAge/__tests__/ChildrenWithAge.test.tsx @@ -208,11 +208,7 @@ describe('ChildrenWithAge', () => { }) it('should not accept values over 1000000 as daycare expense', async () => { - render( - - ) + render() await userEvent.click(document.querySelectorAll('button')[0]) await userEvent.click(document.querySelectorAll('button')[5]) diff --git a/packages/dnb-eufemia/src/extensions/forms/blocks/ChildrenWithAge/__tests__/__snapshots__/ChildrenWithAge.test.tsx.snap b/packages/dnb-eufemia/src/extensions/forms/blocks/ChildrenWithAge/__tests__/__snapshots__/ChildrenWithAge.test.tsx.snap index 4b90ae7f3b6..e8a459ad2a5 100644 --- a/packages/dnb-eufemia/src/extensions/forms/blocks/ChildrenWithAge/__tests__/__snapshots__/ChildrenWithAge.test.tsx.snap +++ b/packages/dnb-eufemia/src/extensions/forms/blocks/ChildrenWithAge/__tests__/__snapshots__/ChildrenWithAge.test.tsx.snap @@ -15,9 +15,9 @@ exports[`ChildrenWithAge should match snapshot 1`] = ` aria-placeholder="0" aria-required="true" class="dnb-input__input" - id="id-re5" + id="id-rdu" inputmode="numeric" - name="id-re5" + name="id-rdu" type="text" />, }, @@ -125,9 +125,9 @@ exports[`ChildrenWithAge should match snapshot 1`] = ` aria-placeholder="0" aria-required="true" class="dnb-input__input" - id="id-rea" + id="id-re3" inputmode="numeric" - name="id-rea" + name="id-re3" type="text" />, }, @@ -331,7 +331,7 @@ exports[`ChildrenWithAge should match snapshot 1`] = ` aria-valuenow="2" aria-valuetext="2" class="dnb-input__input" - id="id-rdr" + id="id-rdk" inputmode="numeric" name="countChildren" role="spinbutton"