mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Normalise heading sizes
Since we added template folders the templates page has had a ‘medium’ sized heading, where other pages have stuck with a ‘large’ size. This commit rationalises the decision around which pages have which heading size: - ‘navigation’ pages (eg templates, team members, email reply to addresses) have medium sized headings - transactional pages (ie ones which have a green button) keep the larger heading size
This commit is contained in:
@@ -66,7 +66,7 @@ def test_view_organisation_shows_the_correct_organisation(
|
||||
org_id=ORGANISATION_ID,
|
||||
)
|
||||
|
||||
assert normalize_spaces(page.select_one('.heading-large').text) == 'Services'
|
||||
assert normalize_spaces(page.select_one('h1').text) == 'Services'
|
||||
|
||||
|
||||
def test_create_new_organisation(
|
||||
|
||||
@@ -798,21 +798,21 @@ def test_update_delivery_status_and_receive_text_message_callbacks_without_chang
|
||||
@pytest.mark.parametrize('service_callback_api, delivery_url, expected_1st_table_row', [
|
||||
(
|
||||
None, {},
|
||||
'Callbacks for delivery receipts Not set Change'
|
||||
'Delivery receipts Not set Change'
|
||||
),
|
||||
(
|
||||
sample_uuid(), {'url': 'https://delivery.receipts'},
|
||||
'Callbacks for delivery receipts https://delivery.receipts Change'
|
||||
'Delivery receipts https://delivery.receipts Change'
|
||||
),
|
||||
])
|
||||
@pytest.mark.parametrize('inbound_api, inbound_url, expected_2nd_table_row', [
|
||||
(
|
||||
None, {},
|
||||
'Callbacks for received text messages Not set Change'
|
||||
'Received text messages Not set Change'
|
||||
),
|
||||
(
|
||||
sample_uuid(), {'url': 'https://inbound.sms'},
|
||||
'Callbacks for received text messages https://inbound.sms Change'
|
||||
'Received text messages https://inbound.sms Change'
|
||||
),
|
||||
])
|
||||
def test_callbacks_page_works_when_no_apis_set(
|
||||
|
||||
Reference in New Issue
Block a user