diff --git a/packages/shared-components/package.json b/packages/shared-components/package.json index 023c708a048..911b69b71c5 100644 --- a/packages/shared-components/package.json +++ b/packages/shared-components/package.json @@ -43,7 +43,7 @@ "lint:types": "tsc --noEmit --jsx react", "test:storybook": "test-storybook --url http://localhost:6007/", "test:storybook:ci": "concurrently -k -s first -n \"SB,TEST\" \"yarn storybook --no-open\" \"wait-on tcp:6007 && yarn test-storybook --url http://localhost:6007/ --ci --maxWorkers=2\"", - "test:storybook:update": "playwright-screenshots --entrypoint /work/node_modules/.bin/test-storybook --with-node-modules --url http://host.docker.internal:6007/ --updateSnapshot" + "test:storybook:update": "playwright-screenshots --entrypoint yarn --with-node-modules && playwright-screenshots --entrypoint /work/node_modules/.bin/test-storybook --with-node-modules --url http://host.docker.internal:6007/ --updateSnapshot" }, "dependencies": { "classnames": "^2.5.1",