mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 05:29:38 -04:00
Updating the page title attribute on text message conversations
Changing to "Received text message"
This commit is contained in:
committed by
Chris Hill-Scott
parent
49eb2a8354
commit
f9e2e49dad
@@ -95,6 +95,14 @@ def test_view_conversation(
|
||||
'main.conversation',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
notification_id=fake_uuid,
|
||||
_test_page_title=False,
|
||||
)
|
||||
|
||||
assert normalize_spaces(page.select_one('title').text) == (
|
||||
'Received text message – service one – GOV.UK Notify'
|
||||
)
|
||||
assert normalize_spaces(page.select_one('h1').text) == (
|
||||
'07123 456789'
|
||||
)
|
||||
|
||||
messages = page.select('.sms-message-wrapper')
|
||||
@@ -223,6 +231,7 @@ def test_view_conversation_with_empty_inbound(
|
||||
'main.conversation',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
notification_id=fake_uuid,
|
||||
_test_page_title=False,
|
||||
)
|
||||
|
||||
messages = page.select('.sms-message-wrapper')
|
||||
@@ -242,6 +251,7 @@ def test_conversation_links_to_reply(
|
||||
'main.conversation',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
notification_id=fake_uuid,
|
||||
_test_page_title=False,
|
||||
)
|
||||
|
||||
assert page.select('main p')[-1].select_one('a')['href'] == (
|
||||
|
||||
Reference in New Issue
Block a user