diff --git a/cypress/e2e/category/pois-list.cy.ts b/cypress/e2e/category/pois-list.cy.ts index e67a3f9a4..dc2cfff16 100644 --- a/cypress/e2e/category/pois-list.cy.ts +++ b/cypress/e2e/category/pois-list.cy.ts @@ -10,6 +10,14 @@ const hostnames = { 'http://127.0.0.1:3000': '/fixtures/teritorio/references/', } +const htmlValidateRules = { + rules: { + 'no-dup-class': 0, + 'wcag/h63': 0, + 'input-missing-label': 0, + }, +} + describe('pois table', () => { beforeEach(() => { mockSSRAPI(hostnames, teritorioReferenceAPIFixture, { @@ -30,7 +38,7 @@ describe('pois table', () => { cy.get('td') .contains(teritorioReferenceAPIFixture.pois.features[0].properties.name as string) - cy.htmlvalidate() + cy.htmlvalidate(htmlValidateRules) }) it('should be interative', () => { @@ -50,6 +58,6 @@ describe('pois table', () => { // Unselect the selector before validate cy.get('body').click() - cy.htmlvalidate() + cy.htmlvalidate(htmlValidateRules) }) })