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: make Android bots green (#21450)
Max Schmitt77c9641215cd
diff --git a/tests/page/expect-misc.spec.ts b/tests/page/expect-misc.spec.tsindex e4341c488a..9bb771858d 100644--- a/tests/page/expect-misc.spec.ts+++ b/tests/page/expect-misc.spec.ts@@ -299,7 +299,8 @@ test.describe('toBeInViewport', () => {await expect(page.locator('#small')).toBeInViewport({ ratio: 1 });});- test('should respect ratio option', async ({ page }) => {+ test('should respect ratio option', async ({ page, isAndroid }) => {+ test.fixme(isAndroid, 'fails due an upstream bug in Chrome, updating Chrome will fix it.');await page.setContent(`<style>body, div, html { padding: 0; margin: 0; }</style><div id=big style="height: 400vh;"></div>diff --git a/tests/page/page-click-scroll.spec.ts b/tests/page/page-click-scroll.spec.tsindex 98c59fb3c9..83af208c21 100644--- a/tests/page/page-click-scroll.spec.ts+++ b/tests/page/page-click-scroll.spec.ts@@ -87,8 +87,9 @@ it('should not crash when force-clicking hidden input', async ({ page, browserNaexpect(error.message).toContain('Element is not visible');});-it('should scroll into view span element', async ({ page }) => {+it('should scroll into view span element', async ({ page, isAndroid }) => {it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/20165' });+ it.fixme(isAndroid);await page.setContent(`<div id=big style="height: 10000px;"></div><span id=small>foo</span>diff --git a/tests/page/page-route.spec.ts b/tests/page/page-route.spec.tsindex 6509fd2938..f260cdeec5 100644--- a/tests/page/page-route.spec.ts+++ b/tests/page/page-route.spec.ts@@ -688,8 +688,9 @@ it('should respect cors overrides', async ({ page, server, browserName, isAndroi}});-it('should not auto-intercept non-preflight OPTIONS', async ({ page, server, browserName }) => {+it('should not auto-intercept non-preflight OPTIONS', async ({ page, server, isAndroid }) => {it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/20469' });+ it.fixme(isAndroid);await page.goto(server.EMPTY_PAGE);