mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-28 23:18:54 +00:00
* move settings, rm nav for single org * move instance pages to settings * i18n * revalidate orgs on create * Update bg.json * show custome portal link * Update console/src/app/modules/settings-list/settings.ts Co-authored-by: Livio Spring <[email protected]> * Update console/src/app/modules/settings-list/settings.ts Co-authored-by: Livio Spring <[email protected]> * Update console/src/app/modules/settings-list/settings.ts Co-authored-by: Livio Spring <[email protected]> * add org page to instance settings * iam.read for org list * i18n * instance imgs, cleanup * rm unused imgs * remove unused imgs, replace default settings imgs * event image * e2e url * instance url --------- Co-authored-by: Livio Spring <[email protected]>
18 lines
667 B
TypeScript
18 lines
667 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.contains('mat-select', 'Descending').click();
|
|
cy.contains('mat-option', 'Ascending').click();
|
|
cy.get('[data-e2e="filter-finish-button"]').click();
|
|
cy.contains('[data-e2e="event-type-cell"]', eventTypeEnglish).should('have.length.at.least', 1);
|
|
});
|
|
});
|