Skip to content

Commit

Permalink
correct intercept to dso resolved for route
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoMolinaro committed Oct 10, 2024
1 parent ba2570b commit 7cf7749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/collection-page.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ describe('Collection Page', () => {

it('should pass accessibility tests', () => {
cy.visit('/collections/'.concat(Cypress.env('DSPACE_TEST_COLLECTION')));
cy.intercept('GET','server/api/core/collections/'.concat(Cypress.env('DSPACE_TEST_COLLECTION'))).as('collection');
cy.wait('@collection');
cy.intercept('GET','/server/api/dso/find?uuid='.concat(Cypress.env('DSPACE_TEST_COLLECTION'))).as('dso');
cy.wait('@dso');
// <ds-collection-page> tag must be loaded
cy.get('ds-collection-page').should('be.visible');

Expand Down

0 comments on commit 7cf7749

Please sign in to comment.