mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
more debug
This commit is contained in:
@@ -424,7 +424,7 @@ def test_caseworkers_get_caseworking_navigation(
|
||||
client_request.login(active_caseworking_user)
|
||||
page = client_request.get("main.choose_template", service_id=SERVICE_ONE_ID)
|
||||
assert normalize_spaces(page.select_one("header + .grid-container nav").text) == (
|
||||
"Send messages Sent messages"
|
||||
"service one Switch service"
|
||||
)
|
||||
|
||||
|
||||
@@ -439,5 +439,5 @@ def test_caseworkers_see_jobs_nav_if_jobs_exist(
|
||||
client_request.login(active_caseworking_user)
|
||||
page = client_request.get("main.choose_template", service_id=SERVICE_ONE_ID)
|
||||
assert normalize_spaces(page.select_one("header + .grid-container nav").text) == (
|
||||
"Send messages Sent messages"
|
||||
"service one Switch service"
|
||||
)
|
||||
|
||||
@@ -29,12 +29,9 @@ 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",
|
||||
], f"Accessibility violation: {violation}"
|
||||
|
||||
Reference in New Issue
Block a user