File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -218,15 +218,27 @@ Frontend tests are done via Cypress. There're 2 different type of tests:
218218
219219#### Run Vue Tests
220220
221+ > :warning : All commands below must be run from the ` ./playwright ` directory.
222+
223+ Run once to install dependencies on your system:
224+ ```
225+ npm install
226+ npx playwright install --with-deps
227+ ```
228+
221229To run the tests headlessly (command line mode):
222230``` sh
223- yarn cypress
231+ npm test
224232```
225233To run the tests visually ** (CANNOT run in docker)** :
226234``` sh
227- yarn cypress:open
235+ npm run test:visual
236+ ```
237+
238+ To run the tests in debug mode ** (CANNOT run in docker)** :
239+ ``` sh
240+ npm run test:debug
228241```
229- > It can take a few seconds before the tests start or the GUI opens.
230242
231243#### Run Legacy Views Tests
232244
You can’t perform that action at this time.
0 commit comments