aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/custom-assertions/elementCount.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-07-31 12:35:48 +0300
committerHenry Jameson <me@hjkos.com>2022-07-31 12:35:48 +0300
commitfddb531ed20b31c44e6911418e7bbb884836c40a (patch)
tree37a8f9aea2002e893d605d64f8941ff1520059b6 /test/e2e/custom-assertions/elementCount.js
parent0cbfcb99a9ffaf771adbe37320bba157019f65ff (diff)
--fix
Diffstat (limited to 'test/e2e/custom-assertions/elementCount.js')
-rw-r--r--test/e2e/custom-assertions/elementCount.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/custom-assertions/elementCount.js b/test/e2e/custom-assertions/elementCount.js
index c0d5fe00..5d5a57b9 100644
--- a/test/e2e/custom-assertions/elementCount.js
+++ b/test/e2e/custom-assertions/elementCount.js
@@ -16,7 +16,7 @@ exports.assertion = function (selector, count) {
return res.value
}
this.command = function (cb) {
- var self = this
+ const self = this
return this.api.execute(function (selector) {
return document.querySelectorAll(selector).length
}, [selector], function (res) {