mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 01:22:54 +00:00
test: rework ui tests for new layout
This commit is contained in:
committed by
Rainer Killinger
parent
0bce9e5452
commit
de10654675
@@ -28,21 +28,4 @@ describe('catalog', function () {
|
||||
.should('contain', 'Studium der Pflichtfächer (1. bis 5. Semester)');
|
||||
});
|
||||
});
|
||||
|
||||
it('should have default back nav', function () {
|
||||
cy.visit('/data-detail/ae3cf884-4dc4-526b-9213-6850135591ab');
|
||||
cy.intercept('POST', 'https://mobile.server.uni-frankfurt.de/search', {
|
||||
fixture: 'search/types/catalog/catalog-1.json',
|
||||
});
|
||||
cy.get('h1').should(
|
||||
'contain',
|
||||
'Studium der Pflichtfächer (1. bis 5. Semester)',
|
||||
);
|
||||
|
||||
cy.intercept('POST', 'https://mobile.server.uni-frankfurt.de/search', {
|
||||
fixture: 'search/types/catalog/catalog-2.json',
|
||||
});
|
||||
cy.get('.show-back-button').click();
|
||||
cy.get('h1').should('contain', 'FB 1 - Rechtswissenschaft');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user