Skip to content

Commit 551817a

Browse files
committed
Fix failing test
1 parent 300653a commit 551817a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dnb-eufemia/src/extensions/forms/Wizard/Container/__tests__/WizardContainer.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3141,7 +3141,7 @@ describe('Wizard.Container', () => {
31413141
// Go to Step 2
31423142
await userEvent.click(nextButton())
31433143

3144-
expect(currentIndex).toBe(1)
3144+
await waitFor(() => expect(currentIndex).toBe(1))
31453145
})
31463146

31473147
it('should prevent navigation if field inside Visibility with keepInDOM is invalid', async () => {

0 commit comments

Comments
 (0)