From ba89536f41a149f1a3844ccce3efb2b0e6bc308c Mon Sep 17 00:00:00 2001
From: JFH <20402845+jfhenon@users.noreply.github.com>
Date: Sun, 13 Dec 2020 22:35:45 +0100
Subject: [PATCH] fix test
---
badges/coverage-badge.svg | 2 +-
badges/tests-badge.svg | 2 +-
cypress/integration/ui/accessibility.js | 7 +++++--
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/badges/coverage-badge.svg b/badges/coverage-badge.svg
index fb8e90cc..c3f8392e 100644
--- a/badges/coverage-badge.svg
+++ b/badges/coverage-badge.svg
@@ -1 +1 @@
-
+
diff --git a/badges/tests-badge.svg b/badges/tests-badge.svg
index 96979660..515cd6b9 100644
--- a/badges/tests-badge.svg
+++ b/badges/tests-badge.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/cypress/integration/ui/accessibility.js b/cypress/integration/ui/accessibility.js
index c192d9f8..17c2a3f0 100644
--- a/cypress/integration/ui/accessibility.js
+++ b/cypress/integration/ui/accessibility.js
@@ -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