瀏覽代碼

enhance: user/start to run a page

Tienson Qin 7 月之前
父節點
當前提交
33b40f4905
共有 1 個文件被更改,包括 6 次插入4 次删除
  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.outliner-test
              'logseq.e2e.rtc-basic-test))
              'logseq.e2e.rtc-basic-test))
 
 
-(comment
-
+(defn start
+  []
   (future
   (future
     (fixtures/open-page
     (fixtures/open-page
      repl/pause
      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.
   ;; this allows us to continue experimenting with the current page.
   (repl/pause)
   (repl/pause)