Files
logseq/clj-e2e
Tienson Qin 8eee397b45 fix: rtc creates duplicated first blocks for new journal pages (#11913)
* fix: rtc creates duplicated first blocks for new journal pages

The root cause is that those blocks from different clients have
different ids. Instead of using persistent block id, this fix avoids
generating the first block until users really start editing it.

* fix: add button not displayed when the last block is not empty

* fix: e2e tests

* enhance: remove dummy block

* fix: open-last-block
2025-06-02 14:19:19 +08:00
..
2025-04-24 22:14:10 +08:00
2025-04-24 01:13:28 +08:00
2025-05-22 00:08:14 +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/static/.
  • 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.