From 60b22a2c01c06d38816a5a807a57e91d0ca85cc1 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 8 Nov 2022 13:00:12 +0100
Subject: [PATCH] OZG-2737 OZG-2950 set timeout to 30000ms

---
 .../navigation/navigation.e2e-spec.ts                 | 11 ++++++++---
 .../integration/main-tests/app/buildinfo.e2e-spec.ts  | 11 ++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/goofy-client/apps/goofy-e2e/src/integration/einheitlicher-ansprechpartner/navigation/navigation.e2e-spec.ts b/goofy-client/apps/goofy-e2e/src/integration/einheitlicher-ansprechpartner/navigation/navigation.e2e-spec.ts
index c0fcd0535b..a55d8226aa 100644
--- a/goofy-client/apps/goofy-e2e/src/integration/einheitlicher-ansprechpartner/navigation/navigation.e2e-spec.ts
+++ b/goofy-client/apps/goofy-e2e/src/integration/einheitlicher-ansprechpartner/navigation/navigation.e2e-spec.ts
@@ -13,15 +13,20 @@ describe('Navigation', () => {
 
 	before(() => {
 		loginAsEmil();
-
-		waitForSpinnerToDisappear();
-		exist(vorgangList.getRoot());
 	})
 
 	after(() => {
 		dropCollections();
 	})
 
+	describe('after login', () => {
+
+		it('should show vorgangList', { defaultCommandTimeout: 30000 }, () => {
+			waitForSpinnerToDisappear();
+			exist(vorgangList.getRoot());
+		})
+	})
+
 	describe('navigation item myVorgaenge', () => {
 
 		it('should not exists', () => {
diff --git a/goofy-client/apps/goofy-e2e/src/integration/main-tests/app/buildinfo.e2e-spec.ts b/goofy-client/apps/goofy-e2e/src/integration/main-tests/app/buildinfo.e2e-spec.ts
index 2173435c27..a0cfd2fa7e 100644
--- a/goofy-client/apps/goofy-e2e/src/integration/main-tests/app/buildinfo.e2e-spec.ts
+++ b/goofy-client/apps/goofy-e2e/src/integration/main-tests/app/buildinfo.e2e-spec.ts
@@ -12,15 +12,20 @@ describe('Buildinfo', () => {
 
 	before(() => {
 		loginAsSabine();
-
-		waitForSpinnerToDisappear();
-		exist(vorgangList.getRoot());
 	})
 
 	after(() => {
 		dropCollections();
 	})
 
+	describe('after login', () => {
+
+		it('should show vorgangList', { defaultCommandTimeout: 30000 }, () => {
+			waitForSpinnerToDisappear();
+			exist(vorgangList.getRoot());
+		})
+	})
+
 	describe('buildinfo', () => {
 
 		it('should show version', () => {
-- 
GitLab