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: fix "should scroll zero-sized element into view" on headed (#13766)
Dmitry Gozman1b159273ea1c
diff --git a/tests/page/locator-misc-2.spec.ts b/tests/page/locator-misc-2.spec.tsindex c21b329405..5bcaa1fcc5 100644--- a/tests/page/locator-misc-2.spec.ts+++ b/tests/page/locator-misc-2.spec.ts@@ -46,7 +46,11 @@ it('should scroll zero-sized element into view', async ({ page, isAndroid }) =>it.fixme(isAndroid);await page.setContent(`- <style>html,body { margin: 0; padding: 0; }</style>+ <style>+ html,body { margin: 0; padding: 0; }+ ::-webkit-scrollbar { display: none; }+ * { scrollbar-width: none; }+ </style><div style="height: 2000px; text-align: center; border: 10px solid blue;"><h1>SCROLL DOWN</h1></div>