Skip to content

Commit 80f7da4

Browse files
authored
e2e: Dump console logs and network events to artifact file (#1925)
* jest dump version * log4js added * listenToEvents + dumpToFile and upload * upload-artifact@v2
1 parent aa42917 commit 80f7da4

File tree

5 files changed

+1034
-837
lines changed

5 files changed

+1034
-837
lines changed

.github/workflows/ci-testing-deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,10 +1183,16 @@ jobs:
11831183
path: simcore_logs
11841184
- name: upload screenshots
11851185
if: always()
1186-
uses: actions/upload-artifact@v1
1186+
uses: actions/upload-artifact@v2
11871187
with:
11881188
name: e2e_screenshots
11891189
path: tests/e2e/screenshots
1190+
- name: upload e2e logs
1191+
if: always()
1192+
uses: actions/upload-artifact@v2
1193+
with:
1194+
name: e2e_logs
1195+
path: tests/e2e/logs
11901196
- name: cleanup
11911197
if: always()
11921198
run: ./ci/github/system-testing/e2e.bash clean_up

tests/e2e/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# coverage and screenshots for e2e testing
22
coverage/
33
screenshots/
4+
logs/

0 commit comments

Comments
 (0)