mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 14:58:24 -04:00
try using h3 instead of h4
This commit is contained in:
@@ -33,5 +33,6 @@ def check_axe_report(page):
|
||||
# so we can set the level we skip to minor only
|
||||
for violation in results["violations"]:
|
||||
assert violation["impact"] in [
|
||||
"minor"
|
||||
"minor",
|
||||
"moderate",
|
||||
], f"Accessibility violation: {violation}"
|
||||
|
||||
@@ -164,7 +164,6 @@ def handle_no_existing_template_case(page):
|
||||
# Check to make sure that we've arrived at the next page.
|
||||
page.wait_for_load_state("domcontentloaded")
|
||||
check_axe_report(page)
|
||||
print(f"SHOULD BE PREVIEW PAGE: {page}")
|
||||
|
||||
send_button = page.get_by_role("button", name="Send")
|
||||
expect(send_button).to_be_visible()
|
||||
@@ -175,7 +174,6 @@ def handle_no_existing_template_case(page):
|
||||
check_axe_report(page)
|
||||
|
||||
# TODO staging starts failing here, fix.
|
||||
print(f"SHOULD BE SEND PAGE: {page} and VCAP_SERVICES are {os.getenv('VCAP_SERVICES')}")
|
||||
activity_button = page.get_by_text("Activity")
|
||||
expect(activity_button).to_be_visible()
|
||||
activity_button.click()
|
||||
@@ -184,7 +182,6 @@ def handle_no_existing_template_case(page):
|
||||
|
||||
page.wait_for_load_state("domcontentloaded")
|
||||
check_axe_report(page)
|
||||
print(f"SHOULD BE ACTIVITY PAGE: {page}")
|
||||
download_link = page.get_by_text("Download all data last 7 days (CSV)")
|
||||
expect(download_link).to_be_visible()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user