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.
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.