mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
Doc e2e debugging workflow available with #7505
This commit is contained in:
@@ -94,6 +94,13 @@ If e2e failed after first running:
|
||||
- `rm -rdf <repo dir>/tmp/`
|
||||
- `rm -rdf <appData dir>/Electron` (Reference: https://www.electronjs.org/de/docs/latest/api/app#appgetpathname)
|
||||
|
||||
If e2e tests fail, they can be debugged by examining a trace dump with [the
|
||||
playwright trace
|
||||
viewer](https://playwright.dev/docs/trace-viewer#recording-a-trace). Locally
|
||||
this will get dumped into e2e-dump/. On CI the trace file will be under
|
||||
Artifacts at the bottom of a run page e.g.
|
||||
https://github.com/logseq/logseq/actions/runs/3574600322.
|
||||
|
||||
### Unit Testing
|
||||
|
||||
Our unit tests use the [shadow-cljs test-runner](https://shadow-cljs.github.io/docs/UsersGuide.html#_testing). To run them:
|
||||
|
||||
Reference in New Issue
Block a user