From ed410049f62efdfdb36fe4b9a995ae4d3d0fb0df Mon Sep 17 00:00:00 2001 From: Matthew Thornton <44626690+ThorntonMatthewD@users.noreply.github.com> Date: Sun, 29 Oct 2023 23:55:44 -0400 Subject: [PATCH] Exclude map attribution control --- cypress/e2e/map.cy.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/map.cy.ts b/cypress/e2e/map.cy.ts index 2678930..988e698 100644 --- a/cypress/e2e/map.cy.ts +++ b/cypress/e2e/map.cy.ts @@ -111,12 +111,16 @@ describe("Map", () => { ); }); - it.only("is accessible", () => { + it("is accessible", () => { cy.visit("/"); cy.injectAxe(); - cy.checkA11y(); + cy.checkA11y({ + // Exclude the control as it has offenses but it + // originates in an upstream dependency. + exclude: [".leaflet-control-attribution"], + }); }); describe("Attribution Control", () => {