Skip to content

Commit

Permalink
chore(vrt): Make visual regression test scripts one-click (#14146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes authored Feb 8, 2023
1 parent 010f6d8 commit adb00ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"copy-scripts:recorder": "./bin/copy-scripts-recorder",
"test": "pnpm test:unit && pnpm test:visual-regression",
"test:unit": "jest --testPathPattern=frontend/",
"test:visual-regression": "playwright test -u && test-storybook -u --no-index-json --url $STORYBOOK_URL",
"test:visual-regression": "docker compose -f docker-compose.playwright.yml run -it --build playwright pnpm playwright test -u && pnpm test-storybook -u --no-index-json --url http://host.docker.internal:6006",
"test:visual-regression:stories": "docker compose -f docker-compose.playwright.yml run -it --build playwright pnpm test-storybook -u --no-index-json --url http://host.docker.internal:6006",
"test:visual-regression:ci": "playwright test && test-storybook --ci --no-index-json --maxWorkers=2",
"start": "concurrently -n ESBUILD,TYPEGEN -c yellow,green \"pnpm start-http\" \"pnpm run typegen:watch\"",
"start-http": "pnpm clean && pnpm copy-scripts && node frontend/build.mjs --dev",
Expand Down

0 comments on commit adb00ea

Please sign in to comment.