Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,20 @@ To install project dependencies, in the **root** directory run:
npm ci
```

**Note!** This does not install Playwright locally. If your OS is supported by Playwright and want to run Playwright with their UI tool run:
**Note!** This does not install Playwright locally. If your OS is supported by Playwright and you want to run Playwright with their UI tool run:

```
cd test && npm ci && cd ..
```

**Linux users:** Before running the above command, install Playwright's system-level browser dependencies once with:

```
sudo npx playwright install-deps
```

Without this, you might get cryptic errors about missing browser dependencies. This is a one-time setup step. It is not needed on macOS or Windows.

## Development

The development is done in Storybook environment. You can read more about Storybook from the [official Storybook site](https://storybook.js.org/).
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Visual regression tests for Fudis",
"scripts": {
"start": "npx playwright test --ui",
"postinstall": "npx playwright install --with-deps"
"postinstall": "npx playwright install"
},
"keywords": [],
"author": "Funidata Ltd",
Expand Down