mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
* 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
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.