Explorar o código

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

rcmerci hai 5 meses
pai
achega
cb8e8ef0ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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