Skip to content

Commit

Permalink
Exclude map attribution control
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorntonMatthewD committed Oct 30, 2023
1 parent 9674a6d commit ed41004
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cypress/e2e/map.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down

0 comments on commit ed41004

Please sign in to comment.