Files
dspace-angular/cypress/e2e/end-user-agreement.cy.ts
FrancescoMolinaro 48d74ee2cd [CST-15592] add accessibility tests for:
Admin Add New Modals
Admin Edit Modals
Admin Export Modals
Admin Workflow Page
End User Agreement
Feedback
Profile Page
System Wide Alert

(cherry picked from commit 4cd55d6669)
2024-10-09 14:21:11 +00:00

14 lines
380 B
TypeScript

import { testA11y } from 'cypress/support/utils';
describe('End User Agreement', () => {
it('should pass accessibility tests', () => {
cy.visit('/info/end-user-agreement');
// Page must first be visible
cy.get('ds-end-user-agreement').should('be.visible');
// Analyze <ds-end-user-agreement> for accessibility
testA11y('ds-end-user-agreement');
});
});