linkeddata / dokieli

:bulb: dokieli is a clientside editor for decentralised article publishing, annotations and social interactions
https://dokie.li/
Other
790 stars 81 forks source link

Setup e2e tests #325

Closed VirginiaBalseiro closed 1 year ago

VirginiaBalseiro commented 1 year ago

This PR adds end-to-end tests to dokieli using Playwright.

Playwright needs static files to be served through a web server, so that is also added in this PR.

There is an example test already setup up. Report is in HTML because it is more useful, but can be also switched to "line" if needed. Videos and traces are on first retry if a test fails.

The idea is the same as with unit tests, that this will allow us to refactor and add new features while making sure that we don't introduce regression bugs.

csarven commented 1 year ago

Exciting times. This is borderline magic. Thanks for this.