IBMa / equal-access

IBM Equal Access Accessibility Checker contains tools to automate accessibility checking from a browser or in a continuous development/build environment
https://www.ibm.com/able/toolkit/tools#develop
Apache License 2.0
635 stars 82 forks source link

[BUG]: HTML report is not visible #1511

Closed Jeremias-Bertoldi closed 1 year ago

Jeremias-Bertoldi commented 1 year ago

Project

cypress accessibility checker

Browser

Chrome

Operating system

MacOS

Description

Hi guys, hope this bug finds you really good! Looks like HTML report of getCompliance is not showing any content. Maybe I'm doing something wrong but until now I couldn't notice what. I'm using cucumber as pre-processor. Node version: v16.20.0 Cypress version: 12.0.2 cypress-accessibility-checker version: 4.0.0-rc.0

Steps to reproduce

  1. create an stepDefs files with this content: Then("I should see accessibilty issues on Cart page", () => { cy.getCompliance("A11y scan on Cart page").assertCompliance() })
  2. create a .feature file whit this content: Scenario: AccessibilityChecks: SFRAT-9877 Performance should be logged in Address Book Page When I go to login page Then I should see accessibilty issues on Cart page
  3. execute npx cypress opencommand

(this two files sends you to the page to be tested so, you can use anythig you need)

tombrunet commented 1 year ago

Anything showing in the console? There is some work that should be going on in the next release to consolidate all of our reporting code into one place so that the reports should be a lot more consistent across the tools. We've had some vacations and technical problems delay that a bit, but should be coming soon.

Jeremias-Bertoldi commented 1 year ago

This is the console output from the HTML document:

Captura de pantalla 2023-06-28 a la(s) 12 23 30

This is the consolo output from vsCode:

Captura de pantalla 2023-06-28 a la(s) 12 29 30

Hope you can fix it even with this issue it's one of the best tools you can find online so, I'd really appreaciate that you can fix it.

Best regards!

tombrunet commented 1 year ago

@Jeremias-Bertoldi Can you please try the latest release. We consolidated the report code and you may get different results.

shunguoy commented 1 year ago

@Jeremias-Bertoldi Can you please try the latest release, and let us know if the issue was fixed? thanx.

Jeremias-Bertoldi commented 1 year ago

Hi @shunguoy sorry for delay, I couldn't check HTML report yet because I'm getting another error with my configuration.

Error: Parsing file /Users/chavo/solvd/pandora-repo-cypress/pandora_cypress/node_modules/cypress-accessibility-checker/src/lib/ACEngineManager.js: visitor[(override || node.type)] is not a function

Do you need a new ticket for the same?

shunguoy commented 1 year ago

@Jeremias-Bertoldi can you please open a new issue for the error? please provide info for your environment so we can duplicate it. Thanx.

Jeremias-Bertoldi commented 1 year ago

sure

tombrunet commented 1 year ago

@Jeremias-Bertoldi Please try this with 3.1.59 that was pushed today. Should clean up the Cypress issues.

tombrunet commented 1 year ago

@Jeremias-Bertoldi If you're still getting this, please re-open.

Jeremias-Bertoldi commented 1 year ago

Hi @tombrunet sorry for delay, it works fine from my side. Thank you!!