mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test(firefox): enable configurable args test (#1564)
This was fixed with 9d0f465ebe2ae48355639ecea446c4b2f292b7ba
This commit is contained in:
parent
59fa2cba90
commit
f503672e5f
@ -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');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user