mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-30 19:12:16 +00:00
# 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
21 lines
809 B
TypeScript
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);
|
|
});
|
|
});
|