Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(test): enable presssing in frames test (#1326)
Joel Einbinder0d2ae91fac78
diff --git a/test/page.spec.js b/test/page.spec.jsindex e096152fbd..929bb2b30e 100644--- a/test/page.spec.js+++ b/test/page.spec.js@@ -1098,7 +1098,7 @@ module.exports.describe = function({testRunner, expect, headless, playwright, FFawait page.press('textarea', 'a');expect(await page.evaluate(() => document.querySelector('textarea').value)).toBe('a');});- it.fail(WEBKIT)('Frame.press should work', async({page, server}) => {+ it('Frame.press should work', async({page, server}) => {await page.setContent(`<iframe name=inner src="${server.PREFIX}/input/textarea.html"></iframe>`);const frame = page.frame('inner');await frame.press('textarea', 'a');