mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
revert test setting to ignore moderate failures
This commit is contained in:
@@ -29,12 +29,10 @@ def check_axe_report(page):
|
||||
|
||||
results = axe.run(page)
|
||||
|
||||
# TODO we are setting this to critical for now
|
||||
# to keep tests passing. Once the serious and
|
||||
# moderate issues are fixed, we will set this
|
||||
# 'moderate'
|
||||
# TODO fix remaining 'moderate' failures
|
||||
# so we can set the level we skip to minor only
|
||||
for violation in results["violations"]:
|
||||
assert violation["impact"] in [
|
||||
"minor",
|
||||
# "moderate",
|
||||
"moderate",
|
||||
], f"Accessibility violation: {violation}"
|
||||
|
||||
Reference in New Issue
Block a user