This commit is contained in:
JFH
2020-12-13 22:35:45 +01:00
parent 615f33b0f9
commit ba89536f41
3 changed files with 7 additions and 4 deletions

View File

@@ -1,9 +1,12 @@
import {
visitAndApproveStorage
} from '../../support/ui-test-helper.js';
describe('UI - Accessibility', function () {
beforeEach(() => {
cy.visit('/instrumented/editor/index.html');
visitAndApproveStorage();
cy.injectAxe();
});
// https://www.npmjs.com/package/cypress-axe
it('Has no detectable a11y violations on load', () => {
// Configure aXe and test the page at initial load