Skip to content

Commit df4d376

Browse files
committed
test(input-otp): fix flaky separator test
1 parent 2d4d883 commit df4d376

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/components/input-otp/test/separators/input-otp.e2e.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
9595
el.separators = [2, 3];
9696
});
9797

98+
await page.waitForChanges();
99+
98100
await expect(await hasSeparatorAfter(page, 0)).toBe(false);
99101
await expect(await hasSeparatorAfter(page, 1)).toBe(true);
100102
await expect(await hasSeparatorAfter(page, 2)).toBe(true);

0 commit comments

Comments
 (0)