try using h3 instead of h4

This commit is contained in:
Kenneth Kehl
2024-10-07 09:11:10 -07:00
parent 3f7e600ac1
commit 22f9ff603a
7 changed files with 13 additions and 13 deletions

View File

@@ -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}"

View File

@@ -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()