diff --git a/tests/app/main/views/test_letters.py b/tests/app/main/views/test_letters.py index 3711b9623..e274f79bf 100644 --- a/tests/app/main/views/test_letters.py +++ b/tests/app/main/views/test_letters.py @@ -55,11 +55,11 @@ def test_letters_lets_in_without_permission( @pytest.mark.parametrize('permissions, choices', [ ( ['email', 'sms', 'letter'], - ['Email template', 'Text message template', 'Letter template', 'Copy of an existing template'] + ['Email', 'Text message', 'Letter', 'Copy an existing template'] ), ( ['email', 'sms'], - ['Email template', 'Text message template', 'Copy of an existing template'] + ['Email', 'Text message', 'Copy an existing template'] ), ]) def test_given_option_to_add_letters_if_allowed( diff --git a/tests/app/main/views/test_templates.py b/tests/app/main/views/test_templates.py index 725c15489..1b5884ca1 100644 --- a/tests/app/main/views/test_templates.py +++ b/tests/app/main/views/test_templates.py @@ -290,9 +290,9 @@ def test_should_show_live_search_if_service_has_lots_of_folders( 'sms', 'copy-existing', ], [ - 'Email template', - 'Text message template', - 'Copy of an existing template', + 'Email', + 'Text message', + 'Copy an existing template', ]), pytest.param(['letter'], [ 'email', @@ -300,10 +300,10 @@ def test_should_show_live_search_if_service_has_lots_of_folders( 'letter', 'copy-existing', ], [ - 'Email template', - 'Text message template', - 'Letter template', - 'Copy of an existing template', + 'Email', + 'Text message', + 'Letter', + 'Copy an existing template', ]), )) def test_should_show_new_template_choices_if_service_has_folder_permission( @@ -327,7 +327,7 @@ def test_should_show_new_template_choices_if_service_has_folder_permission( raise ElementNotFound() assert normalize_spaces(page.select_one('#add_new_template_form fieldset legend').text) == ( - 'Add new' + 'New template' ) assert [ choice['value'] for choice in page.select('#add_new_template_form input[type=radio]')