From 7a912eebbde953bdd7b4af96702d97a0473503bf Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Fri, 22 Dec 2023 14:32:32 +0100 Subject: [PATCH] OZG-4653 OZG-4708 small refactoring --- .../cypress-ci-einheitlicher-ansprechpartner.config.ts | 3 --- alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts | 3 --- alfa-client/apps/alfa-e2e/cypress.config.ts | 3 --- .../user-profile/user-profile-icon-assign-unassign.cy.ts | 2 +- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/alfa-client/apps/alfa-e2e/cypress-ci-einheitlicher-ansprechpartner.config.ts b/alfa-client/apps/alfa-e2e/cypress-ci-einheitlicher-ansprechpartner.config.ts index d0776a7caf..13cefd098a 100644 --- a/alfa-client/apps/alfa-e2e/cypress-ci-einheitlicher-ansprechpartner.config.ts +++ b/alfa-client/apps/alfa-e2e/cypress-ci-einheitlicher-ansprechpartner.config.ts @@ -19,9 +19,6 @@ export default defineConfig({ maxRetries: 2, passesRequired: 2, }, - - // you must also explicitly set openMode and runMode to - // either true or false when using experimental retries openMode: true, runMode: true, }, diff --git a/alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts b/alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts index e541b4c02a..9e90e297f1 100644 --- a/alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts +++ b/alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts @@ -19,9 +19,6 @@ export default defineConfig({ maxRetries: 2, passesRequired: 2, }, - - // you must also explicitly set openMode and runMode to - // either true or false when using experimental retries openMode: true, runMode: true, }, diff --git a/alfa-client/apps/alfa-e2e/cypress.config.ts b/alfa-client/apps/alfa-e2e/cypress.config.ts index b867a3f35b..a39449b9c9 100644 --- a/alfa-client/apps/alfa-e2e/cypress.config.ts +++ b/alfa-client/apps/alfa-e2e/cypress.config.ts @@ -18,9 +18,6 @@ export default defineConfig({ maxRetries: 2, passesRequired: 2, }, - - // you must also explicitly set openMode and runMode to - // either true or false when using experimental retries openMode: true, runMode: true, }, diff --git a/alfa-client/apps/alfa-e2e/src/e2e/main-tests/user-profile/user-profile-icon-assign-unassign.cy.ts b/alfa-client/apps/alfa-e2e/src/e2e/main-tests/user-profile/user-profile-icon-assign-unassign.cy.ts index 4acfd38edd..bcfddd084b 100644 --- a/alfa-client/apps/alfa-e2e/src/e2e/main-tests/user-profile/user-profile-icon-assign-unassign.cy.ts +++ b/alfa-client/apps/alfa-e2e/src/e2e/main-tests/user-profile/user-profile-icon-assign-unassign.cy.ts @@ -168,7 +168,7 @@ describe('User Profile im ausgewählten Vorgang', () => { it('should show assign icon', { defaultCommandTimeout: 30000 }, () => { waitForSpinnerToDisappear(); - // TODO Hier muss aufs Verarbeiten im Backend gewartet werden - oder: wait(500) + // WORKAROUND Hier muss aufs Verarbeiten im Backend gewartet werden - oder: wait(500) wait(500); exist(userProfileContainer.getIconContainer().getAssignedIcon()); haveText(userProfileContainer.getIconContainer().getAssignedIcon(), userDorothea.initials) -- GitLab