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): Disable spellcheck in our textarea tests (#203)
Joel Einbinderc8067dbcdeaf
diff --git a/test/assets/input/textarea.html b/test/assets/input/textarea.htmlindex f71a0054b5..bd477ba826 100644--- a/test/assets/input/textarea.html+++ b/test/assets/input/textarea.html@@ -4,7 +4,7 @@<title>Textarea test</title></head><body>- <textarea></textarea>+ <textarea spellcheck="false"></textarea><input></input><div contenteditable="true"></div><script src='mouse-helper.js'></script>diff --git a/test/mouse.spec.js b/test/mouse.spec.jsindex 536318c6e2..6ce77aef80 100644--- a/test/mouse.spec.js+++ b/test/mouse.spec.js@@ -71,7 +71,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {expect(newDimensions.width).toBe(Math.round(width + 104));expect(newDimensions.height).toBe(Math.round(height + 104));});- it.skip(WEBKIT)('should select the text with mouse', async({page, server}) => {+ it('should select the text with mouse', async({page, server}) => {await page.goto(server.PREFIX + '/input/textarea.html');await page.focus('textarea');const text = 'This is the text that we are going to try to select. Let\'s see how it goes.';