From bb670f72c075637ea5e7d93b17a9700da2fd4f10 Mon Sep 17 00:00:00 2001 From: Andy Edwards Date: Fri, 31 Jan 2020 14:28:12 -0600 Subject: [PATCH] fix(value): add missing await --- src/assertions/value.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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