From 6b814da689328137a925047ec944d521f521f1c6 Mon Sep 17 00:00:00 2001 From: bwang Date: Thu, 5 May 2022 12:35:29 -0500 Subject: [PATCH] Update reporter to include screenshot, remove try statement to ensure CI fails when an error occurs Change-Id: I685c8a74352b4172d7a086467a9b3cfc84d57cee --- tests/a11y/reporter/report.mustache | 13 +-- tests/a11y/runA11yTests.js | 118 +++++++++++++--------------- 2 files changed, 63 insertions(+), 68 deletions(-) diff --git a/tests/a11y/reporter/report.mustache b/tests/a11y/reporter/report.mustache index 607d0ddc..93bd07a5 100644 --- a/tests/a11y/reporter/report.mustache +++ b/tests/a11y/reporter/report.mustache @@ -89,9 +89,10 @@
-

Accessibility Report For {{{name}}}

-

Run on: {{{pageUrl}}}

-

Generated at: {{date}}

+

Accessibility Report for "{{{name}}}"

+

Run on: {{{pageUrl}}}

+

Generated at: {{date}}

+

Page screenshot: {{{name}}}.png