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
17 lines
565 B
TypeScript
17 lines
565 B
TypeScript
import { testA11y } from 'cypress/support/utils';
|
|
|
|
describe('Groups registry', () => {
|
|
beforeEach(() => {
|
|
// Must login as an Admin to see the page
|
|
cy.visit('/access-control/groups');
|
|
cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD'));
|
|
});
|
|
|
|
it('should pass accessibility tests', () => {
|
|
// Epeople registry page must first be visible
|
|
cy.get('ds-groups-registry').should('be.visible');
|
|
// Analyze <ds-groups-registry> for accessibility issues
|
|
testA11y('ds-groups-registry');
|
|
});
|
|
});
|