mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-28 11:52:13 +00:00
feat: separate prettier from eslint
This commit is contained in:
committed by
Thea Schöbl
parent
939fb6ef0f
commit
a88d000ccd
@@ -18,32 +18,20 @@ describe('ical', function () {
|
||||
cy.intercept('POST', 'https://mobile.server.uni-frankfurt.de/search', {
|
||||
fixture: 'search/types/academic-event/event-1.json',
|
||||
}).as('search');
|
||||
cy.intercept(
|
||||
'POST',
|
||||
'https://mobile.server.uni-frankfurt.de/search/multi',
|
||||
{
|
||||
fixture: 'search/types/date-series/date-series-for-event-1.json',
|
||||
},
|
||||
);
|
||||
cy.intercept('POST', 'https://mobile.server.uni-frankfurt.de/search/multi', {
|
||||
fixture: 'search/types/date-series/date-series-for-event-1.json',
|
||||
});
|
||||
});
|
||||
|
||||
it('should export a single event', function () {
|
||||
cy.visit('/search');
|
||||
cy.get('ion-searchbar').click().type('test');
|
||||
cy.contains('ion-item', 'UNIcert (Test)')
|
||||
.contains('ion-chip', 'Termine Auswählen')
|
||||
.click();
|
||||
cy.contains('ion-item', 'UNIcert (Test)').contains('ion-chip', 'Termine Auswählen').click();
|
||||
|
||||
cy.get('ion-app > ion-modal').within(() => {
|
||||
cy.get('ion-footer > ion-toolbar > ion-button').should(
|
||||
'have.attr',
|
||||
'disabled',
|
||||
);
|
||||
cy.get('ion-footer > ion-toolbar > ion-button').should('have.attr', 'disabled');
|
||||
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',
|
||||
);
|
||||
cy.get('ion-footer > ion-toolbar > ion-button').should('not.have.attr', 'disabled');
|
||||
cy.get('ion-footer > ion-toolbar > ion-button').click();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user