Skip to content

Commit

Permalink
Doc e2e debugging workflow available with logseq#7505
Browse files Browse the repository at this point in the history
  • Loading branch information
logseq-cldwalker committed Nov 30, 2022
1 parent 8fc7fb1 commit effaf0f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/dev-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit effaf0f

Please sign in to comment.