We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fffc729 + d17d6c2 commit 828bc4aCopy full SHA for 828bc4a
core/src/components/input/test/masking/input.e2e.ts
@@ -15,11 +15,11 @@ test.describe('input: masking', () => {
15
await input.click();
16
17
// Playwright types this in one character at a time.
18
- await page.keyboard.type('S p a c e s');
+ await page.keyboard.type('A B C', { delay: 100 });
19
await ionInput.next();
20
21
// ionInput is called for each character.
22
- await expect(ionInput).toHaveReceivedEventTimes(11);
23
- await expect(input).toHaveJSProperty('value', 'Spaces');
+ await expect(ionInput).toHaveReceivedEventTimes(5);
+ await expect(input).toHaveJSProperty('value', 'ABC');
24
});
25
0 commit comments