aboutsummaryrefslogtreecommitdiff
path: root/e2e/lib
diff options
context:
space:
mode:
Diffstat (limited to 'e2e/lib')
-rw-r--r--e2e/lib/Console.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2e/lib/Console.ts b/e2e/lib/Console.ts
index de61d66..2c128d1 100644
--- a/e2e/lib/Console.ts
+++ b/e2e/lib/Console.ts
@@ -63,7 +63,7 @@ export class Console {
for (const li of Array.from(items)) {
if (li.classList.contains("vimvixen-console-completion-title")) {
objs.push({ type: "title", text: li.textContent!.trim() });
- } else if ("vimvixen-console-completion-item") {
+ } else if (li.classList.contains("vimvixen-console-completion-item")) {
const highlight = li.classList.contains(
"vimvixen-completion-selected"
);