Skip to content

Commit edf35b8

Browse files
chore: npm e2e snapshots cmd for ci and local
1 parent dba510e commit edf35b8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/tests-screenshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
uses: ./.github/actions/emulator
9292

9393
- name: Run Playwright tests
94-
run: npm run e2e:snapshots
94+
run: npm run e2e:ci:snapshots
9595

9696
- name: Commit Playwright updated screenshots
9797
uses: EndBug/add-and-commit@v9

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@
4949
"test": "tsc --project tsconfig.spec.json --noEmit && vitest --dir src/tests",
5050
"test:frontend": "tsc --project tsconfig.spec.json --noEmit && vitest --config ./vitest.frontend.config.ts --dir src/frontend",
5151
"e2e": "NODE_ENV=development playwright test",
52+
"e2e:snapshots": "NODE_ENV=development playwright test --update-snapshots --reporter=list",
5253
"e2e:ci": "playwright test --reporter=html",
53-
"e2e:snapshots": "playwright test --update-snapshots --reporter=list",
54+
"e2e:ci:snapshots": "playwright test --update-snapshots --reporter=list",
5455
"e2e:report": "playwright show-report",
5556
"e2e:playwright:install": "playwright install chromium --with-deps",
5657
"build:console": "scripts/cargo.sh --console",

0 commit comments

Comments
 (0)