feat: dashboard ui tests

This commit is contained in:
Thea Schöbl
2022-09-27 22:13:54 +00:00
committed by Rainer Killinger
parent eb108c7414
commit 9f8ab5c7a1
17 changed files with 1629 additions and 477 deletions

View File

@@ -39,7 +39,7 @@ describe('ical', function () {
'have.attr',
'disabled',
);
cy.contains('ion-item', /eine Stunde um 19. Jan. 2022, \d+:00/).click();
cy.contains('ion-item', /eine Stunde um 19. Jan. 2059, \d+:00/).click();
cy.get('ion-footer > ion-toolbar > ion-button').should(
'not.have.attr',
'disabled',
@@ -49,7 +49,7 @@ describe('ical', function () {
cy.get('add-event-review-modal').within(() => {
cy.get('ion-item-group').should('contain', 'UNIcert (Test)');
cy.contains('ion-item-group', /19. Jan. 2022, \d+:00/);
cy.contains('ion-item-group', /19. Jan. 2059, \d+:00/);
});
});
});