114599: Updated the e2e tests so they succeed

This commit is contained in:
Kuno Vercammen
2024-05-02 11:47:12 +02:00
parent 6ff3a40929
commit 20146bdcef
4 changed files with 7 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
beforeEach(() => {
cy.visit('/collections/create');
cy.visit('/collections/create?parent='.concat(Cypress.env('DSPACE_TEST_COMMUNITY')));
cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD'));
});
@@ -9,5 +9,5 @@ it('should show loading component while saving', () => {
cy.get('button[type="submit"]').click();
cy.get('ds-themed-loading').should('be.visible');
cy.get('ds-loading').should('be.visible');
});

View File

@@ -9,5 +9,5 @@ it('should show loading component while saving', () => {
cy.get('button[type="submit"]').click();
cy.get('ds-themed-loading').should('be.visible');
cy.get('ds-loading').should('be.visible');
});