Skip to content

Commit

Permalink
Update playwright install command.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrause committed Dec 24, 2024
1 parent 8d30f6e commit a9d24a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"test-ui": "vitest --ui",
"coverage": "vitest run --coverage",
"test:storybook": "test-storybook --failOnConsole --browsers chromium",
"test:storybook-ci": "\n npx playwright install && npx playwright install-deps\n && npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run storybook:build --quiet && npx http-server storybook-static --port 6006 --silent\" \"npx wait-on tcp:6006 && npm run test:storybook\"\n ",
"test:storybook-ci": "\n npx playwright install --with-deps chromium\n && npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run storybook:build --quiet && npx http-server storybook-static --port 6006 --silent\" \"npx wait-on tcp:6006 && npm run test:storybook\"\n ",
"start": "npm run storybook:serve",
"prepare": "npm run build"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const packageConfig = {
// https://github.com/storybookjs/test-runner?tab=readme-ov-file#2-running-against-locally-built-storybooks-in-ci
'test:storybook': 'test-storybook --failOnConsole --browsers chromium', // For text only: FORCE_COLOR=false
'test:storybook-ci': `
npx playwright install && npx playwright install-deps
npx playwright install --with-deps chromium
&& npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue"\
"npm run storybook:build --quiet && npx http-server storybook-static --port 6006 --silent"\
"npx wait-on tcp:6006 && npm run test:storybook"
Expand Down

0 comments on commit a9d24a8

Please sign in to comment.