From ef3ceb76999ea6a770f8715cae2fbd39e4d1f4dc Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Tue, 18 Feb 2020 13:58:49 -0800 Subject: [PATCH] Update test/click.spec.js Co-Authored-By: Joel Einbinder --- test/click.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/click.spec.js b/test/click.spec.js index 95731ab234..a62f8c6f46 100644 --- a/test/click.spec.js +++ b/test/click.spec.js @@ -404,6 +404,8 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI expect(await page.evaluate('window.clicked')).toBe(true); }); xit('should click on an animated button', async({page}) => { + // This test has a setInterval that consistently animates a button. + // It checks that we detect the button to be continuously animating, and never try to click it. // This test exposes two issues: // - Chromium headless does not issue rafs between first and second animateLeft() calls. // - Chromium and WebKit keep element bounds the same when for 2 frames when changing left to a new value.