From a2d471eff4b5a6bd91a9180baf7f67d4acdf4a7a Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Thu, 3 Mar 2022 12:53:59 +0000 Subject: [PATCH] Add missing assertion for letter button text This is the same as the test below, which we will be removing soon. --- tests/app/main/views/test_service_settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/app/main/views/test_service_settings.py b/tests/app/main/views/test_service_settings.py index 6f44f6226..f26fcf125 100644 --- a/tests/app/main/views/test_service_settings.py +++ b/tests/app/main/views/test_service_settings.py @@ -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 [ (