test(firefox): enable configurable args test (#1564)

This was fixed with 9d0f465ebe2ae48355639ecea446c4b2f292b7ba
This commit is contained in:
Andrey Lushnikov 2020-03-26 18:27:35 -07:00 committed by GitHub
parent 59fa2cba90
commit f503672e5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ module.exports.describe = function({testRunner, expect, CHROMIUM, FFOX, WEBKIT})
const aHandle = await page.evaluateHandle(() => Infinity); const aHandle = await page.evaluateHandle(() => Infinity);
expect(await page.evaluate(e => Object.is(e, Infinity), aHandle)).toBe(true); expect(await page.evaluate(e => Object.is(e, Infinity), aHandle)).toBe(true);
}); });
it.fail(FFOX)('should pass configurable args', async({page, server}) => { it('should pass configurable args', async({page, server}) => {
const result = await page.evaluate(arg => { const result = await page.evaluate(arg => {
if (arg.foo !== 42) if (arg.foo !== 42)
throw new Error('Not a 42'); throw new Error('Not a 42');