From 8ce67fc7b760e2811f07b440f1a46ee08d49da2b Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Wed, 6 Mar 2024 11:22:33 +0100
Subject: [PATCH] [CI] Preserve e2e results as artifacts

---
 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5a7b700c4..c65bfee39 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,6 +22,12 @@ test-e2e:
     - nohup npm run start-editor-local &
     - nohup npm run start-player-local &
     - npm run e2e-headless
+  artifacts:
+    when: always
+    paths:
+      - e2e/downloads/**/*.*
+      - e2e/videos/**/*.mp4
+      - e2e/screenshots/**/*.png
 
 #deploy:
 #  stage: deploy
-- 
GitLab