Tienson Qin 1736691224 fix: get_all_pages api 4 giorni fa
..
.clj-kondo 28850387a1 enhance(android): update color definitions 1 mese fa
.lsp 2c6247a8d7 chore: update .lsp & gitignore 6 mesi fa
dev 8c968464fb dev: update agents.md, add bb e2e-test cmds 3 settimane fa
src dd9a32d4de refactor: RTC reuse :db/id for deleted blocks when undo/redo (#12101) 1 mese fa
test 1736691224 fix: get_all_pages api 4 giorni fa
.cljfmt.edn e3734264fc test(e2e): open 2 instances, login, create rtc-graph 5 mesi fa
.gitignore d0a3e08958 enhance: add e2e tests for outliner ops (#11828) 6 mesi fa
README.md f736895b1b fix: remove unused e2e-test namespace 3 mesi fa
bb.edn 453ee3b3b4 fix: ensure website build doesn't rely on new mobile components 3 mesi fa
build.clj d0a3e08958 enhance: add e2e tests for outliner ops (#11828) 6 mesi fa
deps.edn 8c968464fb dev: update agents.md, add bb e2e-test cmds 3 settimane fa

README.md

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.