From 6f9d89f365a2de348ed5795dba3deb3af8e06a28 Mon Sep 17 00:00:00 2001 From: Martin Maul Date: Wed, 15 May 2024 08:40:55 +0200 Subject: [PATCH 01/22] chore(e2e): xxx adjust cypress tests --- .../support/step_definitions/quality-investigations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/cypress/support/step_definitions/quality-investigations.ts b/frontend/cypress/support/step_definitions/quality-investigations.ts index af4fdfe0f3..442ca88467 100644 --- a/frontend/cypress/support/step_definitions/quality-investigations.ts +++ b/frontend/cypress/support/step_definitions/quality-investigations.ts @@ -235,9 +235,9 @@ Then('selected {string} has been {string} as expected', function(notificationTyp break; } case 'approved': { - cy.wait(10000); + cy.wait(20000); // same as "requested" - cy.get('[title="Requested"]', { timeout: 20000 }).should('be.visible'); + cy.get('[title="Requested"]', { timeout: 30000 }).should('be.visible'); break; } case 'accepted': { From a1fcad01192dbfd086b7e9347f6f993ff4b7ed66 Mon Sep 17 00:00:00 2001 From: Martin Maul Date: Wed, 15 May 2024 14:05:43 +0200 Subject: [PATCH 02/22] chore(bug): #859 reset suggestions when filter closed --- .../multi-select-autocomplete.component.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/modules/shared/components/multi-select-autocomplete/multi-select-autocomplete.component.html b/frontend/src/app/modules/shared/components/multi-select-autocomplete/multi-select-autocomplete.component.html index 1dc8a5a67e..736452bc62 100644 --- a/frontend/src/app/modules/shared/components/multi-select-autocomplete/multi-select-autocomplete.component.html +++ b/frontend/src/app/modules/shared/components/multi-select-autocomplete/multi-select-autocomplete.component.html @@ -22,7 +22,8 @@ onkeydown="filterItem('')" (click)="filterItem('')" [multiple]="true" - (selectionChange)="onSelectionChange($event)" panelClass="app-multiselect-filter-dropdown"> + (selectionChange)="onSelectionChange($event)" panelClass="app-multiselect-filter-dropdown" + (openedChange)="options = []">