Просмотр исходного кода

test(e2e): fix util/get-editor(2)

rcmerci 5 месяцев назад
Родитель
Сommit
cb8e8ef0ba
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      clj-e2e/src/logseq/e2e/util.clj

+ 1 - 1
clj-e2e/src/logseq/e2e/util.clj

@@ -42,7 +42,7 @@
       ;; ensure cursor exists
       ;; ensure cursor exists
       ;; Sometimes when the editor exists, there isn't a blinking cursor,
       ;; Sometimes when the editor exists, there isn't a blinking cursor,
       ;; causing subsequent operations (like pressing Enter) to fail.
       ;; causing subsequent operations (like pressing Enter) to fail.
-      (w/click editor)
+      (.focus editor)
       editor)))
       editor)))
 
 
 (defn get-edit-block-container
 (defn get-edit-block-container