(e2e) test the pdf export of the impress app

Add a test to check the pdf export of the
impress app.
It intercept the download of the PDF and
read its content.
We can assert that the template is correctly
rendered, and that the pad text is present as
well.
This commit is contained in:
Anthony LC
2024-04-10 20:05:49 +02:00
committed by Anthony LC
parent a772d8fc29
commit 0dc1be4cc7
7 changed files with 79 additions and 6 deletions

View File

@@ -137,6 +137,10 @@ jobs:
run: |
make migrate
- name: Add dummy data
run: |
make demo FLUSH_ARGS='--no-input'
- name: Install Playwright Browsers
run: cd src/frontend/apps/e2e && yarn install