axe-core-npm icon indicating copy to clipboard operation
axe-core-npm copied to clipboard

Error while testing on alert statement

Open Alex-Jongman opened this issue 3 years ago • 1 comments

Product: cli

Expectation: Give a meaningful error message about the code under test

Actual: running the axe cli on a simple page containing a javascript alert statement only the error: An error occurred while testing this page. is shown, not that the error was caused by the alert statement.

Motivation: One now can think its an error of axe itself and not an error caused by the code to be tested.


axe-core version: 4.4.1
@axe-core/[integration]: X.Y.Z

- Node version: v16.13.1
- Platform:  Windows

Alex-Jongman avatar Mar 24 '22 10:03 Alex-Jongman

Apologies for the delayed response. We're still exploring what we can do about this issue.

WilcoFiers avatar May 09 '22 15:05 WilcoFiers

Closing added more error handling in CLI Ref: https://github.com/dequelabs/axe-core-npm/pull/555, https://github.com/dequelabs/axe-core-npm/pull/421, https://github.com/dequelabs/axe-core-npm/pull/681, https://github.com/dequelabs/axe-core-npm/pull/680

No QA required

michael-siek avatar Nov 14 '23 13:11 michael-siek