Browse Source

enhance: user/start to run a page

Tienson Qin 5 months ago
parent
commit
33b40f4905
1 changed files with 6 additions and 4 deletions
  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)