diff --git a/src/assertions/value.js b/src/assertions/value.js index 8237c8c..c1f5bd3 100644 --- a/src/assertions/value.js +++ b/src/assertions/value.js @@ -33,7 +33,7 @@ export default function value(client, chai, utils, options) { if (!immediately) { try { - client.waitUntil( + await client.waitUntil( async () => (await doesOneElementHaveValue(client, selector, expected)).result, config.defaultWait