We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2e1d4c commit 13a6c89Copy full SHA for 13a6c89
test/waittask.spec.js
@@ -74,7 +74,7 @@ module.exports.describe = function({testRunner, expect, product, playwright, FFO
74
expect(error.message).toContain('Unsupported target type');
75
});
76
it('should wait for predicate with arguments', async({page, server}) => {
77
- await page.waitFor((arg1, arg2) => arg1 !== arg2, {}, 1, 2);
+ await page.waitFor(({arg1, arg2}) => arg1 + arg2 === 3, {}, { arg1: 1, arg2: 2});
78
79
80
0 commit comments