Update test/click.spec.js

Co-Authored-By: Joel Einbinder <joel.einbinder@gmail.com>
This commit is contained in:
Dmitry Gozman 2020-02-18 13:59:04 -08:00 committed by GitHub
parent ef3ceb7699
commit 5335e52da5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -403,7 +403,7 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI
await page.click('button');
expect(await page.evaluate('window.clicked')).toBe(true);
});
xit('should click on an animated button', async({page}) => {
xit('should fail to click a button animated via CSS animations and setInterval', 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: