test(firefox): enable some tests that already firefox passes (#204)

This commit is contained in:
Joel Einbinder 2019-12-10 17:09:06 -08:00 committed by Pavel Feldman
parent 3146d47de8
commit 02f2209b13
4 changed files with 4 additions and 4 deletions

View File

@ -373,7 +373,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
expect(requests.length).toBe(2);
expect(requests[1].response().status()).toBe(404);
});
it.skip(FFOX)('should not throw "Invalid Interception Id" if the request was cancelled', async({page, server}) => {
it('should not throw "Invalid Interception Id" if the request was cancelled', async({page, server}) => {
await page.setContent('<iframe></iframe>');
await page.interception.enable();
let request = null;

View File

@ -59,7 +59,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
});
describe('Frame.evaluate', function() {
it.skip(FFOX)('should throw for detached frames', async({page, server}) => {
it('should throw for detached frames', async({page, server}) => {
const frame1 = await utils.attachFrame(page, 'frame1', server.EMPTY_PAGE);
await utils.detachFrame(page, 'frame1');
let error = null;

View File

@ -410,7 +410,7 @@ module.exports.addTests = function({testRunner, expect, playwright, FFOX, CHROME
expect(response).toBe(null);
expect(page.url()).toBe(server.PREFIX + '/replaced.html');
});
it.skip(FFOX)('should work with DOM history.back()/history.forward()', async({page, server}) => {
it('should work with DOM history.back()/history.forward()', async({page, server}) => {
await page.goto(server.EMPTY_PAGE);
await page.setContent(`
<a id=back onclick='javascript:goBack()'>back</a>

View File

@ -927,7 +927,7 @@ module.exports.addTests = function({testRunner, expect, headless, playwright, FF
expect(await page.evaluate(() => result.onInput)).toEqual(['blue']);
expect(await page.evaluate(() => result.onChange)).toEqual(['blue']);
});
it.skip(FFOX)('should not throw when select causes navigation', async({page, server}) => {
it('should not throw when select causes navigation', async({page, server}) => {
await page.goto(server.PREFIX + '/input/select.html');
await page.$eval('select', select => select.addEventListener('input', () => window.location = '/empty.html'));
await Promise.all([