From 6ac1797b5f8314144c596a08dae914138adbebc3 Mon Sep 17 00:00:00 2001
From: Syrine Neifar <syrine@greenhost.nl>
Date: Thu, 27 Apr 2023 10:57:38 +0200
Subject: [PATCH] Fix cypress test

---
 templates/tests/cypress-test-nc-oo.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/tests/cypress-test-nc-oo.yaml b/templates/tests/cypress-test-nc-oo.yaml
index ac63bf10..833697f5 100644
--- a/templates/tests/cypress-test-nc-oo.yaml
+++ b/templates/tests/cypress-test-nc-oo.yaml
@@ -80,7 +80,7 @@ spec:
         {{- end }}
         {{- end }}
         - name: INSTALLED_APPS
-          value: "{{ range .Values.apps }}{{ .name }},{{ end }}"
+          value: "{{- range $apps_type, $apps := .Values.apps }}{{- range $apps }}{{ .name }},{{ end }}{{ end }}"
       volumeMounts:
         - name: cypress-config
           mountPath: /e2e
-- 
GitLab