ソースを参照

fix: ensure editor is table before fill

https://playwright.dev/java/docs/actionability#stable
Tienson Qin 5 ヶ月 前
コミット
1ac6ff9121
1 ファイル変更1 行追加1 行削除
  1. 1 1
      clj-e2e/src/logseq/e2e/block.clj

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

@@ -15,7 +15,7 @@
 
 (defn save-block
   [text]
-  (util/wait-timeout 100)
+  (w/click util/editor-q)
   (w/fill util/editor-q text)
   (assert/assert-is-visible (loc/filter util/editor-q :has-text text)))