fix(firefox): make ElementHandle.scrollIntoViewIfNeeded pass (#1786)

This commit is contained in:
Yury Semikhatsky 2020-04-14 18:24:17 -07:00 committed by GitHub
parent da683b2752
commit b232e004f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
"main": "index.js",
"playwright": {
"chromium_revision": "754895",
"firefox_revision": "1077",
"firefox_revision": "1078",
"webkit_revision": "1193"
},
"scripts": {

View file

@ -293,7 +293,7 @@ describe('ElementHandle.hover', function() {
});
describe('ElementHandle.scrollIntoViewIfNeeded', function() {
it.fail(FFOX)('should work', async({page, server}) => {
it('should work', async({page, server}) => {
await page.goto(server.PREFIX + '/offscreenbuttons.html');
for (let i = 0; i < 11; ++i) {
const button = await page.$('#btn' + i);