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,27 +218,34 @@ 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.
221+ > :warning : All commands below ** MUST ** be run from the ` ./playwright ` directory, unless noted otherwise .
222222
223- Run once to install dependencies on your system:
224- ```
225- npm install
226- npx playwright install --with-deps
227- ```
223+ 1 . Run ** once** to install dependencies on your system:
224+ ``` sh
225+ npm install
226+ npx playwright install --with-deps
227+ ```
228228
229- To run the tests headlessly (command line mode):
230- ``` sh
231- npm test
232- ```
233- To run the tests visually ** (CANNOT run in docker)** :
234- ``` sh
235- npm run test:visual
236- ```
229+ 2. Run in a ** separate process** , from the ** project root directory** :
230+ ` ` ` sh
231+ yarn preview
232+ ` ` `
237233
238- To run the tests in debug mode ** (CANNOT run in docker)** :
239- ``` sh
240- npm run test:debug
241- ```
234+ 3. Run the tests, in of these 3 modes, from the ` ./playwright` directory:
235+
236+ 3.1 To run the tests headlessly (command line mode):
237+ ` ` ` sh
238+ npm test
239+ ` ` `
240+ 3.2 To run the tests visually ** (CANNOT run in docker)** :
241+ ` ` ` sh
242+ npm run test:visual
243+ ` ` `
244+
245+ 3.3 To run the tests in debug mode ** (CANNOT run in docker)** :
246+ ` ` ` sh
247+ npm run test:debug
248+ ` ` `
242249
243250# ### Run Legacy Views Tests
244251
You can’t perform that action at this time.
0 commit comments