mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00

Metadata Import
Batch Import
Processes Overview
New Process
Quality Assurance Sources
(cherry picked from commit e6a7fb852a
)
18 lines
724 B
TypeScript
18 lines
724 B
TypeScript
import { testA11y } from 'cypress/support/utils';
|
|
|
|
describe('Quality Assurance Source Page', () => {
|
|
// NOTE: these tests currently assume this query will return results!
|
|
beforeEach(() => {
|
|
// Must login as an Admin to see processes
|
|
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');
|
|
});
|
|
});
|