Skip to content

Commit

Permalink
Extend e2e tests for info panel
Browse files Browse the repository at this point in the history
  • Loading branch information
t11r committed Apr 16, 2024
1 parent d430d7e commit c8898de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/e2e/info.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ describe('Info', () => {
cy.contains('Related Resources');
cy.contains('/object/viewid/0000000001');
cy.contains('/0000000001/manifest');

cy.visit(`/?manifest=${Cypress.env('iiifApiUrl')}/manifest/digitale-sammlungen-bsb00026283`);
cy.contains('Info').click();
cy.get('.tify-info-section.-related li').should('have.length', 2);
cy.get('a[href$="/details:bsb00026283"]').contains('Details');
cy.get('a[href$="/title/BV023398264"]').contains('OPAC');
});

it('collapses long metadata values', () => {
Expand Down

0 comments on commit c8898de

Please sign in to comment.