Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Andrey Lushnikovf503672e5f93
diff --git a/test/jshandle.spec.js b/test/jshandle.spec.js
index 5d52ba5be1..eefb0f47f0 100644
--- a/test/jshandle.spec.js
+++ b/test/jshandle.spec.js
@@ -92,7 +92,7 @@ module.exports.describe = function({testRunner, expect, CHROMIUM, FFOX, WEBKIT})
const aHandle = await page.evaluateHandle(() => Infinity);
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 => {
if (arg.foo !== 42)
throw new Error('Not a 42');