Skip to content

Commit d1b81e5

Browse files
authored
docs: update README for playwright tests
1 parent eb45bd7 commit d1b81e5

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff 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+
221229
To run the tests headlessly (command line mode):
222230
```sh
223-
yarn cypress
231+
npm test
224232
```
225233
To 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

0 commit comments

Comments
 (0)