Skip to content

Commit

Permalink
Merge pull request #281 from ral-facilities/bugfix/playwright-docker
Browse files Browse the repository at this point in the history
Pass --update-snapshots to playwright:update-snapshot script
  • Loading branch information
kennethnym authored Aug 10, 2023
2 parents aed5a19 + 1690e68 commit 9317066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"test": "craco test --env=jsdom --coverage --watchAll=false",
"test:watch": "craco test --env=jsdom --watch",
"playwright:test": "yarn build:playwright-docker && docker run --env LOCAL_DOCKER=true --volume ./playwright-report:/app/playwright-report --publish 9323:9323 operations-gateway-playwright-test",
"playwright:update-snapshot": "yarn build:playwright-docker && docker run --env LOCAL_DOCKER=true --volume .:/app --publish 9323:9323 operations-gateway-playwright-test",
"playwright:update-snapshot": "yarn build:playwright-docker && docker run --env LOCAL_DOCKER=true --volume .:/app --publish 9323:9323 operations-gateway-playwright-test --update-snapshots",
"eject": "react-scripts eject",
"build:e2e": "cross-env REACT_APP_E2E_TESTING=true GENERATE_SOURCEMAP=false craco build",
"e2e-test-server": "node ./server/e2e-test-server.js",
Expand Down

0 comments on commit 9317066

Please sign in to comment.