mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 13:18:24 -04:00
Add missing assertion for letter button text
This is the same as the test below, which we will be removing soon.
This commit is contained in:
@@ -4853,6 +4853,9 @@ def test_letter_branding_request_page_when_no_branding_is_set(
|
||||
assert mock_get_email_branding.called is False
|
||||
assert mock_get_letter_branding_by_id.called is False
|
||||
|
||||
button_text = normalize_spaces(page.select_one('.page-footer button').text)
|
||||
assert button_text == 'Request new branding'
|
||||
|
||||
if expected_options:
|
||||
assert [
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user