Skip to content

Commit 374d9f3

Browse files
authored
Merge pull request #2652 from asfadmin/lily/visualregressiontesting
Only update snapshots on successful tests in update snapshots action
2 parents 9fb691d + 96f8482 commit 374d9f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update-snapshots.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install angular cli
4747
run: npm install -g @angular/cli
4848
- name: Start server and record snapshots
49-
run: ng serve --host=127.0.0.1 & npx wait-on http://127.0.0.1:4200 && npx playwright test --update-snapshots --reporter=list --grep '@visual' || true
49+
run: ng serve --host=127.0.0.1 & npx wait-on http://127.0.0.1:4200 && npx playwright test --update-snapshots --reporter=list --grep '@visual'
5050
- uses: stefanzweifel/git-auto-commit-action@v7
5151
with:
5252
commit_message: "[CI] Update Snapshots"

0 commit comments

Comments
 (0)