Files
zitadel/tests/functional-ui/cypress/e2e/events/events.cy.ts
T
RamonandGitHub 20b6c9869a chore: update deps (#11273)
# Which Problems Are Solved
Fix failing compliance alert because of old depedencies.

# How the Problems Are Solved
Updated our npm dependencies

# Additional Changes
- Updated Docusaurus to React 19 to unify our react versions
- Fixed flaky e2e test
2026-01-07 09:48:30 +01:00

21 lines
809 B
TypeScript

describe('events', () => {
beforeEach(() => {
cy.context().as('ctx');
});
it('events can be filtered', () => {
const eventTypeEnglish = 'Instance added';
cy.visit('/instance?id=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[id="eventTypesList"]').click();
cy.contains('mat-option', eventTypeEnglish).click();
cy.get('body').type('{esc}');
cy.contains('mat-select[id="isAsc"]', 'Descending').click({ force: true });
cy.contains('mat-option', 'Descending').click();
cy.get('[data-e2e="filter-finish-button"]').click();
cy.get('[data-e2e="event-type-cell"]').should('have.length', 1);
});
});