From 7ac14daf469cb93e4de16f8cbd1d8085a1aff3a2 Mon Sep 17 00:00:00 2001 From: FrancescoMolinaro Date: Thu, 10 Oct 2024 15:42:47 +0200 Subject: [PATCH] remove interceptors --- cypress/e2e/collection-edit.cy.ts | 2 -- cypress/e2e/community-edit.cy.ts | 2 -- cypress/e2e/item-edit.cy.ts | 3 --- 3 files changed, 7 deletions(-) diff --git a/cypress/e2e/collection-edit.cy.ts b/cypress/e2e/collection-edit.cy.ts index a1e25ecf70..63d873db3e 100644 --- a/cypress/e2e/collection-edit.cy.ts +++ b/cypress/e2e/collection-edit.cy.ts @@ -8,8 +8,6 @@ beforeEach(() => { // This page is restricted, so we will be shown the login form. Fill it out & submit. cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD')); - cy.intercept('/server/api/core/collections/'.concat(Cypress.env('DSPACE_TEST_COLLECTION'))).as('collection'); - cy.wait('@collection') }); describe('Edit Collection > Edit Metadata tab', () => { diff --git a/cypress/e2e/community-edit.cy.ts b/cypress/e2e/community-edit.cy.ts index ed2dfc8f5e..8fc1a7733e 100644 --- a/cypress/e2e/community-edit.cy.ts +++ b/cypress/e2e/community-edit.cy.ts @@ -8,8 +8,6 @@ beforeEach(() => { // This page is restricted, so we will be shown the login form. Fill it out & submit. cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD')); - cy.intercept('/server/api/core/communities/'.concat(Cypress.env('DSPACE_TEST_COMMUNITY'))).as('community'); - cy.wait('@community') }); describe('Edit Community > Edit Metadata tab', () => { diff --git a/cypress/e2e/item-edit.cy.ts b/cypress/e2e/item-edit.cy.ts index 7fa8aea95f..60e1b924ee 100644 --- a/cypress/e2e/item-edit.cy.ts +++ b/cypress/e2e/item-edit.cy.ts @@ -9,9 +9,6 @@ beforeEach(() => { // This page is restricted, so we will be shown the login form. Fill it out & submit. cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD')); - - cy.intercept('GET', 'server/api/core/items/'.concat(Cypress.env('DSPACE_TEST_ENTITY_PUBLICATION'))).as('item'); - cy.wait('@item'); }); describe('Edit Item > Edit Metadata tab', () => {