Skip to content

Commit 514dd07

Browse files
authored
Fix test:storybook:update (#31173)
1 parent 53dc281 commit 514dd07

File tree

2 files changed

+749
-17
lines changed

2 files changed

+749
-17
lines changed

packages/shared-components/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"lint:types": "tsc --noEmit --jsx react",
4444
"test:storybook": "test-storybook --url http://localhost:6007/",
4545
"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\"",
46-
"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"
46+
"test:storybook:update": "playwright-screenshots --entrypoint /work/node_modules/.bin/test-storybook --with-node-modules --url http://host.docker.internal:6007/ --updateSnapshot"
4747
},
4848
"dependencies": {
4949
"classnames": "^2.5.1",
@@ -55,6 +55,8 @@
5555
"temporal-polyfill": "^0.3.0"
5656
},
5757
"devDependencies": {
58+
"@element-hq/element-web-playwright-common": "^2.0.0",
59+
"@playwright/test": "^1.50.1",
5860
"@storybook/addon-a11y": "^9.1.10",
5961
"@storybook/addon-designs": "^10.0.2",
6062
"@storybook/addon-docs": "^9.1.10",

0 commit comments

Comments
 (0)