Browse Source

test(e2e): retry in new-block(2)

rcmerci 7 months ago
parent
commit
21a8a7b8f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clj-e2e/src/logseq/e2e/block.clj

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

@@ -24,7 +24,7 @@
     (try
       (k/enter)
       (assert/assert-have-count ".ls-block" (inc blocks-count))
-      (catch Exception _e
+      (catch org.opentest4j.AssertionFailedError _e
         ;; retry once
         (k/enter)
         (assert/assert-have-count ".ls-block" (inc blocks-count))))