diff --git a/doc/examples/phantomjs/axe-phantom.js b/doc/examples/phantomjs/axe-phantom.js index 7039ec8e18..6dbcd9c329 100644 --- a/doc/examples/phantomjs/axe-phantom.js +++ b/doc/examples/phantomjs/axe-phantom.js @@ -46,6 +46,8 @@ page.open(args[1], function(status) { } } - phantom.exit(msg.violations.length); + // NOTE: to fail the test when violations are found, uncomment the line below. + // phantom.exit(msg.violations.length); + phantom.exit(0); }; });