Adds axe checks to icon processing

This commit is contained in:
Tessa Kelly 2022-04-14 10:34:13 -07:00
parent eba604f46e
commit 8ccf68f7e0

View File

@ -67,6 +67,9 @@ describe('UI tests', function () {
await percySnapshot(page, `${name} - display icon names`) await percySnapshot(page, `${name} - display icon names`)
console.log(`Snapshots complete for ${name}`) console.log(`Snapshots complete for ${name}`)
const results = await new AxePuppeteer(page).disableRules(skippedRules[name] || []).analyze();
handleAxeResults(results);
} }
const skippedRules = { const skippedRules = {