Files
logseq/clj-e2e
Tienson Qin dd9a32d4de refactor: RTC reuse :db/id for deleted blocks when undo/redo (#12101)
1. reuse old eids for block/uuid when apply-remote-ops

2. enhance: clear undo history when failed to validate db

Also, throw transact error from db worker
3. test(rtc): add timeout for wait-for cloud-idle
4. fix: rtc extra tests
5.  enhance(test): retry new-block once when assert timeout
---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-09-15 22:29:45 +08:00
..
2025-04-24 01:13:28 +08:00

e2e

e2e tests for Logseq app.

Usage

Before running tests, ensure the following:

  • The app's js and css assets are built and located at ../public/.
  • Those assets are served on http://localhost:3002/ via bb serve.

Then, run the project's tests:

$ clojure -T:build test

If you would like to run individual tests, pass options to the test runner through clojure -M:test. For example, add a ^:focus on a test and then run clojure -M:test -i focus.

If e2e tests fail, clj-e2e/e2e-dump/ contains console logs and screenshots to help debug.