From 8da642ea63fa6e839b58b1bc400f85d7206a4b3c Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Thu, 6 Oct 2022 10:32:32 +0200
Subject: [PATCH] Disable cypress video compression

Closes: #1075, #1074
---
 .gitlab-ci.yml    | 1 +
 cypress.config.js | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6816c929..6a1958d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,6 +22,7 @@ include:
       - values.yaml
       - Chart.yaml
       - .gitlab-ci.yml
+      - cypress.config.js
 
 stages:
   - lint-helm-chart
diff --git a/cypress.config.js b/cypress.config.js
index 79b326ed..ad633613 100644
--- a/cypress.config.js
+++ b/cypress.config.js
@@ -18,5 +18,7 @@ module.exports = defineConfig({
   // https://docs.cypress.io/guides/references/configuration#Timeouts
   // Nextcloud and especially Onlyoffice load slow so we need to increase
   // the global timeout
-  defaultCommandTimeout: 30000
+  defaultCommandTimeout: 30000,
+  videoCompression: false,
+  videoUploadOnPasses: false
 });
-- 
GitLab