mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00

Admin Notifications Publication Claim
Admin Search Page
Bulk Access
Create Group
Metadata Registry
(cherry picked from commit 85e486438a
)
17 lines
537 B
TypeScript
17 lines
537 B
TypeScript
import { testA11y } from 'cypress/support/utils';
|
|
|
|
describe('Create Group', () => {
|
|
beforeEach(() => {
|
|
// Must login as an Admin to see the page
|
|
cy.visit('/access-control/groups/create');
|
|
cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD'));
|
|
});
|
|
|
|
it('should pass accessibility tests', () => {
|
|
// Form must first be visible
|
|
cy.get('ds-group-form').should('be.visible');
|
|
// Analyze <ds-group-form> for accessibility issues
|
|
testA11y('ds-group-form');
|
|
});
|
|
});
|