From 0154af4de87d47c8b0543b92111c5074573e2ecf Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Mon, 14 Apr 2025 09:01:25 +0200 Subject: [PATCH] docs(frontend): Testen uitvoeren --- frontend/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/README.md b/frontend/README.md index d4b3b63d..522d8a38 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -52,11 +52,18 @@ npm run test:unit ### Run End-to-End Tests with [Playwright](https://playwright.dev) ```sh +cd frontend + # Install browsers for the first run npx playwright install +# On Ubuntu, you can also use +npx playwright install --with-deps +# to additionally install the dependencies. # When testing on CI, must build the project first +cd .. npm run build +cd frontend # Runs the end-to-end tests npm run test:e2e