diff --git a/core/src/components/input/test/masking/input.e2e.ts b/core/src/components/input/test/masking/input.e2e.ts index 1679659530..9fd4ca7032 100644 --- a/core/src/components/input/test/masking/input.e2e.ts +++ b/core/src/components/input/test/masking/input.e2e.ts @@ -15,11 +15,11 @@ test.describe('input: masking', () => { await input.click(); // Playwright types this in one character at a time. - await page.keyboard.type('S p a c e s'); + await page.keyboard.type('A B C', { delay: 100 }); await ionInput.next(); // ionInput is called for each character. - await expect(ionInput).toHaveReceivedEventTimes(11); - await expect(input).toHaveJSProperty('value', 'Spaces'); + await expect(ionInput).toHaveReceivedEventTimes(5); + await expect(input).toHaveJSProperty('value', 'ABC'); }); });