mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Tidy up JS code for focusing & associated html
Makes sure the tabindex we add for focusing is removed. Also removes the outer fieldset from the radios for new templates. We don't wrap form buttons in fieldsets anywhere else and it doesn't add any useful semantics to the form.
This commit is contained in:
@@ -320,7 +320,7 @@ def test_should_show_new_template_choices_if_service_has_folder_permission(
|
||||
if not page.select('#add_new_template_form'):
|
||||
raise ElementNotFound()
|
||||
|
||||
assert normalize_spaces(page.select_one('#add_new_template_form fieldset fieldset legend').text) == (
|
||||
assert normalize_spaces(page.select_one('#add_new_template_form fieldset legend').text) == (
|
||||
'Add new'
|
||||
)
|
||||
assert [
|
||||
|
||||
Reference in New Issue
Block a user