mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-13 12:07:11 +03:00
test(firefox): enable some tests that already firefox passes (#204)
This commit is contained in:
parent
3146d47de8
commit
02f2209b13
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -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([
|
||||
|
Loading…
Reference in New Issue
Block a user