Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: Fix insertText test title (#3386)

Darío Kondratiukff2c2b299f09
diff --git a/test/keyboard.spec.js b/test/keyboard.spec.js
index 2b7728c0a6..ed6bdb21bf 100644
--- a/test/keyboard.spec.js
+++ b/test/keyboard.spec.js
@@ -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('嗨');