mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Add basic accessibility scan for most public pages. Disable any a11y tests with known issues
This commit is contained in:
12
cypress/integration/footer.spec.ts
Normal file
12
cypress/integration/footer.spec.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
describe('Footer', () => {
|
||||
it('should pass accessibility tests', () => {
|
||||
cy.visit('/');
|
||||
cy.injectAxe();
|
||||
|
||||
// Footer must first be visible
|
||||
cy.get('ds-footer').should('be.visible');
|
||||
|
||||
// Analyze <ds-footer> for accessibility
|
||||
cy.checkA11y('ds-footer');
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user