Skip to content

Commit 075691c

Browse files
committed
Upload screenshot of failures in Cypress
1 parent ee14289 commit 075691c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
with:
2929
start: npm run dev
3030
wait-on: 'http://localhost:8080/cff-initializer-javascript/#'
31+
- name: Upload Screenshot of Cypress when errors occur
32+
if: failure()
33+
uses: actions/upload-artifact@v3
34+
with:
35+
name: cypress-screenshots
36+
path: cypress/screenshots
3137
- name: Code coverage
3238
uses: codecov/codecov-action@v3
3339
with:

0 commit comments

Comments
 (0)