mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
14 lines
383 B
TypeScript
14 lines
383 B
TypeScript
beforeEach(() => {
|
|
cy.visit('/communities/create');
|
|
cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD'));
|
|
});
|
|
|
|
it('should show loading component while saving', () => {
|
|
const title = 'Test Community Title';
|
|
cy.get('#title').type(title);
|
|
|
|
cy.get('button[type="submit"]').click();
|
|
|
|
cy.get('ds-loading').should('be.visible');
|
|
});
|