mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Add test for textarea
Also remove redundant error handling - if unexpected error happens, it will be handled at the app level.
This commit is contained in:
@@ -5260,6 +5260,7 @@ def test_view_edit_service_notes(
|
||||
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
|
||||
assert page.select_one('h1').text == "Edit service notes"
|
||||
assert page.find('label', class_="form-label").text.strip() == "Notes"
|
||||
assert page.find('textarea').attrs["name"] == "notes"
|
||||
|
||||
|
||||
def test_update_service_notes(
|
||||
|
||||
Reference in New Issue
Block a user