Doc e2e debugging workflow available with #7505

This commit is contained in:
Gabriel Horner
2022-11-30 14:42:39 -05:00
parent 8fc7fb1496
commit effaf0f741

View File

@@ -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: