mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Make settings page a table not a browse list
There’s no way of seeing what the current settings are for a service without individually going to the pages where you can change them. This commit replaces the list of settings with a table. The table plays back the current value for each setting. This is a pattern that has worked well on various services[1] as well as on our own user profile page. 1. https://designpatterns.hackpad.com/Check-your-answers-page-2DSpTH9J0wU
This commit is contained in:
@@ -43,6 +43,17 @@ def service_one(api_user_active):
|
||||
return service_json(SERVICE_ONE_ID, 'service one', [api_user_active.id])
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def service_with_reply_to_addresses(api_user_active):
|
||||
return service_json(
|
||||
SERVICE_ONE_ID,
|
||||
'service one',
|
||||
[api_user_active.id],
|
||||
reply_to_email_address='test@example.com',
|
||||
sms_sender='elevenchars',
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_send_sms(request, mocker):
|
||||
return mocker.patch("app.service_api_client.send_sms")
|
||||
|
||||
Reference in New Issue
Block a user