821 - removing a few headers and adjusting the tests to accept an empty string

This commit is contained in:
Jonathan Bobel
2023-10-03 15:28:27 -04:00
parent 48c20c7966
commit fefa8288c4
4 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{% macro mapping_table(caption='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False) -%}
<table class="usa-table usa-table--borderless">
<table class="usa-table usa-table--borderless width-full">
<caption class="font-body-lg table-heading{{ ' usa-sr-only' if not caption_visible}}">
{{ caption }}
</caption>

View File

@@ -14,7 +14,6 @@
{% call mapping_table(
caption='General',
field_headings=['Label', 'Value', 'Action'],
field_headings_visible=False,
caption_visible=False
) %}

View File

@@ -13,7 +13,6 @@
<div class="body-copy-table">
{% call mapping_table(
caption='Your profile',
field_headings=['Label', 'Value', 'Action'],
field_headings_visible=False,
caption_visible=False
) %}

View File

@@ -54,7 +54,7 @@ def mock_get_service_settings_page_common(
(
create_active_user_with_permissions(),
[
"Label Value Action",
"",
"Service name Test Service Change service name",
"Sign-in method Text message code Change sign-in method",
"Send text messages On Change your settings for sending text messages",
@@ -66,7 +66,7 @@ def mock_get_service_settings_page_common(
(
create_platform_admin_user(),
[
"Label Value Action",
"",
"Service name Test Service Change service name",
"Sign-in method Text message code Change sign-in method",
"Send text messages On Change your settings for sending text messages",