chore: install playwright browsers before smoke tests

This commit is contained in:
Bart Stefanski 2023-10-17 01:04:49 +02:00
parent d338dec8bc
commit 139ed0bef7

View file

@ -30,6 +30,7 @@ jobs:
- name: Smoke & Acceptance tests - name: Smoke & Acceptance tests
run: | run: |
yarn build-storybook --quiet yarn build-storybook --quiet
yarn playwright install
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \ "npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook" "npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook"