mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
remove interceptors
This commit is contained in:
@@ -8,8 +8,6 @@ beforeEach(() => {
|
|||||||
|
|
||||||
// This page is restricted, so we will be shown the login form. Fill it out & submit.
|
// 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.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', () => {
|
describe('Edit Collection > Edit Metadata tab', () => {
|
||||||
|
@@ -8,8 +8,6 @@ beforeEach(() => {
|
|||||||
|
|
||||||
// This page is restricted, so we will be shown the login form. Fill it out & submit.
|
// 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.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', () => {
|
describe('Edit Community > Edit Metadata tab', () => {
|
||||||
|
@@ -9,9 +9,6 @@ beforeEach(() => {
|
|||||||
|
|
||||||
// This page is restricted, so we will be shown the login form. Fill it out & submit.
|
// 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.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', () => {
|
describe('Edit Item > Edit Metadata tab', () => {
|
||||||
|
Reference in New Issue
Block a user