From 1690e68aa03b189cb00a02cd48522ef463ecca43 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Thu, 10 Aug 2023 13:43:59 +0100 Subject: [PATCH] Pass --update-snapshots to playwright:update-snapshot script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 448be814f..4408b507d 100644 --- a/package.json +++ b/package.json @@ -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",