From 66474f2bdfdb18982653d3ce8ef7de0c42c72211 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Wed, 21 Aug 2024 16:09:03 +0200
Subject: [PATCH] enable bescheid smocker for e2e tests

---
 .../vorgang-bescheid-automatisch-erstellen.cy.ts    |  4 ++--
 .../alfa-e2e/src/fixtures/argocd/by-main-dev.yaml   | 13 ++++++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/alfa-client/apps/alfa-e2e/src/e2e/main-tests/vorgang-bescheid/vorgang-bescheid-automatisch-erstellen.cy.ts b/alfa-client/apps/alfa-e2e/src/e2e/main-tests/vorgang-bescheid/vorgang-bescheid-automatisch-erstellen.cy.ts
index c2a6b888ce..8f465721f0 100644
--- a/alfa-client/apps/alfa-e2e/src/e2e/main-tests/vorgang-bescheid/vorgang-bescheid-automatisch-erstellen.cy.ts
+++ b/alfa-client/apps/alfa-e2e/src/e2e/main-tests/vorgang-bescheid/vorgang-bescheid-automatisch-erstellen.cy.ts
@@ -28,7 +28,7 @@ import {
 registerLocaleData(localeDe, 'de', localeDeExtra);
 
 //TODO: Jenkins konfigurieren
-describe.skip('Upload automatic Bescheid', () => {
+describe('Upload automatic Bescheid', () => {
   const mainPage: MainPage = new MainPage();
   const vorgangList: VorgangListE2EComponent = mainPage.getVorgangList();
 
@@ -77,7 +77,7 @@ describe.skip('Upload automatic Bescheid', () => {
     dropCollections();
   });
 
-  describe.skip('Upload automatic Bescheid document', () => {
+  describe('Upload automatic Bescheid document', () => {
     it('should show automatic Bescheid button', () => {
       vorgangList.getListItem(bescheidAutomatik.name).getRoot().click();
       waitForSpinnerToDisappear();
diff --git a/alfa-client/apps/alfa-e2e/src/fixtures/argocd/by-main-dev.yaml b/alfa-client/apps/alfa-e2e/src/fixtures/argocd/by-main-dev.yaml
index c73587a0b0..00e4ac5efb 100644
--- a/alfa-client/apps/alfa-e2e/src/fixtures/argocd/by-main-dev.yaml
+++ b/alfa-client/apps/alfa-e2e/src/fixtures/argocd/by-main-dev.yaml
@@ -9,6 +9,8 @@ project:
 alfa:
   env:
     overrideSpringProfiles: "oc,e2e,dev"
+  customList:
+    ozgcloud_feature_bescheid-wizard: "true"
   ingress:
     use_staging_cert: true
   ozgcloud:
@@ -20,11 +22,12 @@ alfa:
 vorgang_manager:
   env:
     overrideSpringProfiles: "oc,e2e,dev"
-    ozgcloud_bescheid_smart_documents_url: http://smocker:8080/smartdocuments
-    ozgcloud_bescheid_smart_documents_basic_auth_username: MGM
-    ozgcloud_bescheid_smart_documents_basic_auth_password: MGM
-    ozgcloud_bescheid_smart_documents_template_group: OzgCloudTest
-    ozgcloud_bescheid_smart_documents_template: Halteverbot
+    customList:
+      ozgcloud_bescheid_smart_documents_url: http://smocker:8080/smartdocuments
+      ozgcloud_bescheid_smart_documents_basic_auth_username: MGM
+      ozgcloud_bescheid_smart_documents_basic_auth_password: MGM
+      ozgcloud_bescheid_smart_documents_template_group: OzgCloudTest
+      ozgcloud_bescheid_smart_documents_template: Halteverbot
   elasticsearch:
     enabled: true
   replicaCount: 1
-- 
GitLab