mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 21:33:12 -04:00
Let users add new template from the choose page
Since we’re letting users add new folders directly from the choose page it makes sense that they should also be able to add templates from there. This resolves the problem we saw in user research where people found it hard to know where to go to add a new folder when they were all behind one green button.
This commit is contained in:
@@ -785,7 +785,7 @@ def test_should_show_radios_and_buttons_for_move_destination_if_correct_permissi
|
||||
'main.choose_template',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
)
|
||||
radios = page.select('input[type=radio]')
|
||||
radios = page.select('#move_to_folder_radios input[type=radio]')
|
||||
radio_div = page.find('div', {'id': 'move_to_folder_radios'})
|
||||
assert radios == page.select('input[name=move_to]')
|
||||
|
||||
@@ -799,7 +799,8 @@ def test_should_show_radios_and_buttons_for_move_destination_if_correct_permissi
|
||||
'unknown',
|
||||
'move_to_existing_folder',
|
||||
'move_to_new_folder',
|
||||
'add_new_folder'
|
||||
'add_new_folder',
|
||||
'add_template',
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user