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

test(e2e): check for exactly once displayed event
This commit is contained in:
Elio Bischof 2024-04-23 11:09:25 +02:00 committed by GitHub
parent cc0c06f225
commit df50c3835b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);
});
});