mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Replace generated content with proper heading
Brings in https://github.com/alphagov/notifications-utils/pull/797 but adapts the CSS so nothing changes visually
This commit is contained in:
@@ -968,9 +968,16 @@ def test_preview_broadcast_message_page(
|
||||
'Scotland',
|
||||
]
|
||||
|
||||
assert normalize_spaces(
|
||||
page.select_one('h2.broadcast-message-heading').text
|
||||
) == (
|
||||
'Emergency alert'
|
||||
)
|
||||
|
||||
assert normalize_spaces(
|
||||
page.select_one('.broadcast-message-wrapper').text
|
||||
) == (
|
||||
'Emergency alert '
|
||||
'This is a test'
|
||||
)
|
||||
|
||||
|
||||
@@ -784,6 +784,7 @@ def test_view_broadcast_template(
|
||||
) == (
|
||||
normalize_spaces(page.select_one('.broadcast-message-wrapper').text)
|
||||
) == (
|
||||
'Emergency alert '
|
||||
'This is a test'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user