test: Fix insertText test title (#3386)

This commit is contained in:
Darío Kondratiuk 2020-08-11 12:43:38 -03:00 committed by GitHub
parent 77e75b447b
commit ff2c2b299f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ it('should send a character with ElementHandle.press', async ({page, server}) =>
expect(await page.evaluate(() => document.querySelector('textarea').value)).toBe('a');
});
it('should send a character with sendCharacter', async ({page, server}) => {
it('should send a character with insertText', async ({page, server}) => {
await page.goto(server.PREFIX + '/input/textarea.html');
await page.focus('textarea');
await page.keyboard.insertText('嗨');