Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(firefox): bump to 1157 (#3395)
Dmitry Gozmanadfeaa49edf5
diff --git a/browsers.json b/browsers.jsonindex ac21d351dd..af77f07335 100644--- a/browsers.json+++ b/browsers.json@@ -8,7 +8,7 @@},{"name": "firefox",- "revision": "1156",+ "revision": "1157","download": true},{diff --git a/test/page-goto.spec.ts b/test/page-goto.spec.tsindex c0810126ed..3ba5d671c3 100644--- a/test/page-goto.spec.ts+++ b/test/page-goto.spec.ts@@ -118,7 +118,7 @@ it('should return response when page changes its URL after load', async({page, sexpect(response.status()).toBe(200);});-it.fail(FFOX)('should work with subframes return 204', async({page, server}) => {+it('should work with subframes return 204', async({page, server}) => {server.setRoute('/frames/frame.html', (req, res) => {res.statusCode = 204;res.end();@@ -126,6 +126,14 @@ it.fail(FFOX)('should work with subframes return 204', async({page, server}) =>await page.goto(server.PREFIX + '/frames/one-frame.html');});+it('should work with subframes return 204 with domcontentloaded', async({page, server}) => {+ server.setRoute('/frames/frame.html', (req, res) => {+ res.statusCode = 204;+ res.end();+ });+ await page.goto(server.PREFIX + '/frames/one-frame.html', { waitUntil: 'domcontentloaded' });+});+it('should fail when server returns 204', async({page, server}) => {// Webkit just loads an empty page.server.setRoute('/empty.html', (req, res) => {