diff --git a/ngx-fudis/projects/documentation/development/GettingStarted.mdx b/ngx-fudis/projects/documentation/development/GettingStarted.mdx index 088df7844..eab5db93c 100644 --- a/ngx-fudis/projects/documentation/development/GettingStarted.mdx +++ b/ngx-fudis/projects/documentation/development/GettingStarted.mdx @@ -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/). diff --git a/test/package.json b/test/package.json index fe8665481..bdd49237e 100644 --- a/test/package.json +++ b/test/package.json @@ -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",