mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 14:47:33 +00:00
test(e2e): fix events flakiness (#7829)
This commit is contained in:
@@ -9,9 +9,12 @@ describe('events', () => {
|
||||
cy.get('[data-e2e="event-type-cell"]').should('have.length', 20);
|
||||
cy.get('[data-e2e="open-filter-button"]').click();
|
||||
cy.get('[data-e2e="event-type-filter-checkbox"]').click();
|
||||
cy.get('mat-select[name="eventTypesList"]').click();
|
||||
cy.contains('mat-option', eventTypeEnglish).click();
|
||||
cy.get('body').type('{esc}');
|
||||
cy.contains('mat-select', 'Descending').click();
|
||||
cy.contains('mat-option', 'Ascending').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.at.least', 1);
|
||||
cy.contains('[data-e2e="event-type-cell"]', eventTypeEnglish).should('have.length', 1);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user