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
651 B
TypeScript
17 lines
651 B
TypeScript
import { testA11y } from 'cypress/support/utils';
|
|
|
|
describe('Quality Assurance Source Page', () => {
|
|
beforeEach(() => {
|
|
// Must login as an Admin to see the page
|
|
cy.visit('/notifications/quality-assurance');
|
|
cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD'));
|
|
});
|
|
|
|
it('should pass accessibility tests', () => {
|
|
// Source page must first be visible
|
|
cy.get('ds-quality-assurance-source-page-component').should('be.visible');
|
|
// Analyze <ds-quality-assurance-source-page-component> for accessibility issues
|
|
testA11y('ds-quality-assurance-source-page-component');
|
|
});
|
|
});
|