mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 17:42:57 +00:00
feat: improved e2e tests
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
*/
|
||||
describe('catalog', function () {
|
||||
it('should have path', 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.interceptGet({uid: 'catalog', fixture: 'catalog/catalog', alias: 'catalog'});
|
||||
cy.interceptSearch({extends: 'catalog/children', fixture: 'catalog/children', alias: 'catalog/children'});
|
||||
cy.visit('/data-detail/catalog');
|
||||
cy.wait('@catalog');
|
||||
|
||||
cy.get('stapps-data-path').within(() => {
|
||||
cy.get('ion-breadcrumb').first().should('contain', 'FB 1 - Rechtswissenschaft');
|
||||
|
||||
Reference in New Issue
Block a user