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