mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00

Admin Curation Task
Bitstream Format
Health Page
Metadata Schema
(cherry picked from commit d12d0faf09
)
17 lines
564 B
TypeScript
17 lines
564 B
TypeScript
import { testA11y } from 'cypress/support/utils';
|
|
|
|
describe('Admin Curation Tasks', () => {
|
|
beforeEach(() => {
|
|
// Must login as an Admin to see the page
|
|
cy.visit('/admin/curation-tasks');
|
|
cy.loginViaForm(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD'));
|
|
});
|
|
|
|
it('should pass accessibility tests', () => {
|
|
// Page must first be visible
|
|
cy.get('ds-admin-curation-task').should('be.visible');
|
|
// Analyze <ds-admin-curation-task> for accessibility issues
|
|
testA11y('ds-admin-curation-task');
|
|
});
|
|
});
|