Skip to content

Commit

Permalink
Store test screenshots for ui tests (#1906)
Browse files Browse the repository at this point in the history
* Store test screenshots for ui tests

* Add changelog
  • Loading branch information
dbanck authored Dec 9, 2024
1 parent d904098 commit 1154b9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/INTERNAL-20241209-123358.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: INTERNAL
body: Store screenshots for failing UI tests
time: 2024-12-09T12:33:58.676197+01:00
custom:
Issue: "1906"
Repository: vscode-terraform
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,10 @@ jobs:
- name: Run UI Tests
run: npm run test:ui
if: runner.os != 'Linux'
- name: Archive test artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-screenshots-${{ matrix.os }}-${{ matrix.vscode }}
path: .test-storage/screenshots
retention-days: 1

0 comments on commit 1154b9b

Please sign in to comment.