Skip to content

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

test: enable span scroll in webkit (#20681)

Yury Semikhatsky9303dd552ddf
diff --git a/tests/page/page-click-scroll.spec.ts b/tests/page/page-click-scroll.spec.ts
index 8d148ca45e..2199391d61 100644
--- a/tests/page/page-click-scroll.spec.ts
+++ b/tests/page/page-click-scroll.spec.ts
@@ -87,9 +87,8 @@ it('should not crash when force-clicking hidden input', async ({ page, browserNa
expect(error.message).toContain('Element is not visible');
});
-it('should scroll into view span element', async ({ page, browserName }) => {
+it('should scroll into view span element', async ({ page }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/20165' });
- it.fixme(browserName === 'webkit');
await page.setContent(`
<div id=big style="height: 10000px;"></div>
<span id=small>foo</span>