From df50c3835b7f2e2f84a87cebf6c48907bf1da1b4 Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Tue, 23 Apr 2024 11:09:25 +0200 Subject: [PATCH] test(e2e): check for exactly one displayed event (#7831) test(e2e): check for exactly once displayed event --- e2e/cypress/e2e/events/events.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/cypress/e2e/events/events.cy.ts b/e2e/cypress/e2e/events/events.cy.ts index 8c27f607d3..c271c244a1 100644 --- a/e2e/cypress/e2e/events/events.cy.ts +++ b/e2e/cypress/e2e/events/events.cy.ts @@ -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); }); });