From 7e6439d19cea36f262327c9694629cae5a93fae9 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 5 May 2022 09:49:38 -0700 Subject: [PATCH] test: enable smooth scroll click after webkit roll (#13948) --- tests/page/page-click.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/page/page-click.spec.ts b/tests/page/page-click.spec.ts index 7bb42a0714..bc865bcedf 100644 --- a/tests/page/page-click.spec.ts +++ b/tests/page/page-click.spec.ts @@ -251,9 +251,8 @@ it('should scroll and click the button', async ({ page, server }) => { expect(await page.evaluate(() => document.querySelector('#button-80').textContent)).toBe('clicked'); }); -it('should scroll and click the button with smooth scroll behavior', async ({ page, server, browserName, headless, isLinux }) => { +it('should scroll and click the button with smooth scroll behavior', async ({ page, server }) => { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/12370' }); - it.skip(browserName === 'webkit' && !headless && isLinux); await page.goto(server.PREFIX + '/input/scrollable.html'); await page.addStyleTag({ content: 'html { scroll-behavior: smooth; }' }); for (let i = 0; i < 10; i++) {