test(e2e): check for exactly one displayed event (#7831)

test(e2e): check for exactly once displayed event

(cherry picked from commit df50c3835b)
This commit is contained in:
Elio Bischof
2024-04-23 11:09:25 +02:00
committed by Livio Spring
parent f180530e38
commit 3193925ffc

View File

@@ -15,6 +15,6 @@ describe('events', () => {
cy.contains('mat-select', 'Descending').click();
cy.contains('mat-option', 'Descending').click();
cy.get('[data-e2e="filter-finish-button"]').click();
cy.contains('[data-e2e="event-type-cell"]', eventTypeEnglish).should('have.length', 1);
cy.get('[data-e2e="event-type-cell"]').should('have.length', 1);
});
});