瀏覽代碼

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

rcmerci 5 月之前
父節點
當前提交
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
       ;; Sometimes when the editor exists, there isn't a blinking cursor,
       ;; causing subsequent operations (like pressing Enter) to fail.
-      (w/click editor)
+      (.focus editor)
       editor)))
 
 (defn get-edit-block-container