docs(frontend): Testen uitvoeren
This commit is contained in:
parent
f80f4d48a1
commit
0154af4de8
1 changed files with 7 additions and 0 deletions
|
@ -52,11 +52,18 @@ npm run test:unit
|
||||||
### Run End-to-End Tests with [Playwright](https://playwright.dev)
|
### Run End-to-End Tests with [Playwright](https://playwright.dev)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
cd frontend
|
||||||
|
|
||||||
# Install browsers for the first run
|
# Install browsers for the first run
|
||||||
npx playwright install
|
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
|
# When testing on CI, must build the project first
|
||||||
|
cd ..
|
||||||
npm run build
|
npm run build
|
||||||
|
cd frontend
|
||||||
|
|
||||||
# Runs the end-to-end tests
|
# Runs the end-to-end tests
|
||||||
npm run test:e2e
|
npm run test:e2e
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue