mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-07 15:01:55 -04:00
Always put HM Government at the top of the list
It’s the default, so we should treat it the same way we treat GOV.UK in the email branding selection.
This commit is contained in:
@@ -2106,11 +2106,11 @@ def test_set_letter_branding_prepopulates(
|
||||
for element in {'label', 'input[type=radio]'}:
|
||||
assert len(page.select(element)) == 3
|
||||
|
||||
assert normalize_spaces(page.select('label')[0].text) == 'Animal and Plant Health Agency'
|
||||
assert page.select('input')[0]['value'] == '999'
|
||||
assert normalize_spaces(page.select('label')[0].text) == 'HM Government'
|
||||
assert page.select('input')[0]['value'] == '001'
|
||||
|
||||
assert normalize_spaces(page.select('label')[1].text) == 'HM Government'
|
||||
assert page.select('input')[1]['value'] == '001'
|
||||
assert normalize_spaces(page.select('label')[1].text) == 'Animal and Plant Health Agency'
|
||||
assert page.select('input')[1]['value'] == '999'
|
||||
|
||||
assert normalize_spaces(page.select('label')[2].text) == 'Land Registry'
|
||||
assert page.select('input')[2]['value'] == '500'
|
||||
|
||||
Reference in New Issue
Block a user