diff --git a/package.json b/package.json index 14691102af..b6b39b9d6c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "main": "index.js", "playwright": { "chromium_revision": "733125", - "firefox_revision": "1020", + "firefox_revision": "1021", "webkit_revision": "1120" }, "scripts": { diff --git a/test/accessibility.spec.js b/test/accessibility.spec.js index 64ab278d4a..d350836e3e 100644 --- a/test/accessibility.spec.js +++ b/test/accessibility.spec.js @@ -82,6 +82,14 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT, }; expect(await page.accessibility.snapshot()).toEqual(golden); }); + it('should work with blank document', async({page}) => { + await page.setContent(``); + const snapshot = await page.accessibility.snapshot(); + expect(snapshot).toEqual({ + role: FFOX ? 'document' : 'WebArea', + name: '', + }); + }); it.skip(WEBKIT && !MAC)('should work with regular text', async({page}) => { await page.setContent(`