mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
16 lines
481 B
TypeScript
16 lines
481 B
TypeScript
import { TEST_COLLECTION } from 'cypress/support/e2e';
|
|
import { testA11y } from 'cypress/support/utils';
|
|
|
|
describe('Collection Page', () => {
|
|
|
|
it('should pass accessibility tests', () => {
|
|
cy.visit('/collections/'.concat(TEST_COLLECTION));
|
|
|
|
// <ds-collection-page> tag must be loaded
|
|
cy.get('ds-collection-page').should('be.visible');
|
|
|
|
// Analyze <ds-collection-page> for accessibility issues
|
|
testA11y('ds-collection-page');
|
|
});
|
|
});
|