From 583069880de79bda65e1808f2b28a13568a43050 Mon Sep 17 00:00:00 2001 From: sebo <sebastian.bergandy@external.mgm-cp.com> Date: Wed, 5 Mar 2025 18:43:42 +0100 Subject: [PATCH] OZG-5977 fix e2e --- .../vorgang-bescheid-info-anzeigen.cy.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/alfa-client/apps/alfa-e2e/src/e2e/main-tests/vorgang-bescheid/vorgang-bescheid-info-anzeigen.cy.ts b/alfa-client/apps/alfa-e2e/src/e2e/main-tests/vorgang-bescheid/vorgang-bescheid-info-anzeigen.cy.ts index a6d7e8cc47..d0e5d9939d 100644 --- a/alfa-client/apps/alfa-e2e/src/e2e/main-tests/vorgang-bescheid/vorgang-bescheid-info-anzeigen.cy.ts +++ b/alfa-client/apps/alfa-e2e/src/e2e/main-tests/vorgang-bescheid/vorgang-bescheid-info-anzeigen.cy.ts @@ -132,9 +132,9 @@ describe('Bescheid Info anzeigen', () => { it('should upload files and continue to step 3', () => { bescheidWizard.uploadBescheid(TEST_FILE_BESCHEID_VALID); - bescheidWizard.bescheidUploadSpinnerIsClosed(); + waitForSpinnerToDisappear(); bescheidWizard.uploadAttachment(TEST_FILE_BESCHEID_ANHANG_VALID); - bescheidWizard.attachmentSpinnerIsClosed(); + waitForSpinnerToDisappear(); bescheidWizard.weiter(); bescheidWizard.isBescheidVersendenStep(); @@ -193,7 +193,7 @@ describe('Bescheid Info anzeigen', () => { it('should upload Bescheid and continue to step 3', () => { bescheidWizard.uploadBescheid(TEST_FILE_BESCHEID_VALID); - bescheidWizard.bescheidUploadSpinnerIsClosed(); + waitForSpinnerToDisappear(); bescheidWizard.weiter(); bescheidWizard.isBescheidVersendenStep(); }); @@ -201,9 +201,7 @@ describe('Bescheid Info anzeigen', () => { it('should show 2 Bescheid containers after saving', () => { bescheidWizard.getSaveButton().click(); bescheidWizard.getConfirmAndSaveButton().click(); - exist(bescheidWizard.getBescheidSaveSpinner()); - notExist(bescheidWizard.getBescheidSaveSpinner()); - + waitForSpinnerToDisappear(); haveLength(bescheide.getBescheidContainer(), 2); }); -- GitLab