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
test: skip scrolling tests on Android (#36195)
Max Schmitt5659432229fd
diff --git a/tests/page/page-click-timeout-4.spec.ts b/tests/page/page-click-timeout-4.spec.tsindex d27802797b..a973061ed8 100644--- a/tests/page/page-click-timeout-4.spec.ts+++ b/tests/page/page-click-timeout-4.spec.ts@@ -49,7 +49,8 @@ it('should click for the second time after first timeout', async ({ page, serverexpect(await page.evaluate('result')).toBe('Clicked');});-it('should fail to click the button behind a large header after scrolling around', async ({ page }) => {+it('should fail to click the button behind a large header after scrolling around', async ({ page, isAndroid }) => {+ it.skip(isAndroid, 'Different viewport size');await page.setViewportSize({ width: 500, height: 240 });await page.setContent(`<style>diff --git a/tests/page/page-click.spec.ts b/tests/page/page-click.spec.tsindex 60117ee161..9a023ade59 100644--- a/tests/page/page-click.spec.ts+++ b/tests/page/page-click.spec.ts@@ -440,7 +440,8 @@ it('should click the button with em border with offset', async ({ page, server,expect(await page.evaluate('offsetY')).toBe(browserName === 'webkit' ? 12 * 2 + 10 : 10);});-it('should click a very large button with offset', async ({ page, server, browserName }) => {+it('should click a very large button with offset', async ({ page, server, browserName, isAndroid }) => {+ it.fixme(isAndroid, 'Failed to scroll to a particular point');await page.goto(server.PREFIX + '/input/button.html');await page.$eval('button', button => button.style.borderWidth = '8px');await page.$eval('button', button => button.style.height = button.style.width = '2000px');@@ -451,7 +452,8 @@ it('should click a very large button with offset', async ({ page, server, browseexpect(await page.evaluate('offsetY')).toBe(browserName === 'webkit' ? 1910 + 8 : 1910);});-it('should click a button in scrolling container with offset', async ({ page, server, browserName }) => {+it('should click a button in scrolling container with offset', async ({ page, server, browserName, isAndroid }) => {+ it.fixme(isAndroid, 'Failed to scroll to a particular point');await page.goto(server.PREFIX + '/input/button.html');await page.$eval('button', button => {const container = document.createElement('div');