Kaynağa Gözat

enhance: user/start to run a page

Tienson Qin 7 ay önce
ebeveyn
işleme
33b40f4905
1 değiştirilmiş dosya ile 6 ekleme ve 4 silme
  1. 6 4
      clj-e2e/dev/user.clj

+ 6 - 4
clj-e2e/dev/user.clj

@@ -54,14 +54,16 @@
              'logseq.e2e.outliner-test
              'logseq.e2e.rtc-basic-test))
 
-(comment
-
+(defn start
+  []
   (future
     (fixtures/open-page
      repl/pause
-     {:headless false}))
+     {:headless false})))
+
+(comment
 
-  ;; You can put `(repl/pause)` in any test to pause the tests,
+  ;; You can call or put `(repl/pause)` in any test to pause the tests,
   ;; this allows us to continue experimenting with the current page.
   (repl/pause)