feat(firefox): bump to 1157 (#3395)
This commit is contained in:
parent
22d1be32fb
commit
adfeaa49ed
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
{
|
||||
"name": "firefox",
|
||||
"revision": "1156",
|
||||
"revision": "1157",
|
||||
"download": true
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ it('should return response when page changes its URL after load', async({page, s
|
|||
expect(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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue