mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-15 02:11:45 +03:00
Adds axe checks to icon processing
This commit is contained in:
parent
eba604f46e
commit
8ccf68f7e0
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user