mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
a few more organisation edits
This commit is contained in:
@@ -34,7 +34,7 @@ def test_organisation_page_shows_all_organisations(
|
||||
|
||||
assert normalize_spaces(
|
||||
page.select_one('h1').text
|
||||
) == "Organisations"
|
||||
) == "Organizations"
|
||||
|
||||
assert [
|
||||
(
|
||||
@@ -922,18 +922,18 @@ def test_organisation_settings_for_platform_admin(
|
||||
):
|
||||
expected_rows = [
|
||||
'Label Value Action',
|
||||
'Name Test organisation Change organisation name',
|
||||
'Sector Federal government Change sector for the organisation',
|
||||
'Crown organisation Yes Change organisation crown status',
|
||||
'Name Test organisation Change organization name',
|
||||
'Sector Federal government Change sector for the organization',
|
||||
'Crown organization Yes Change organization crown status',
|
||||
(
|
||||
'Data sharing and financial agreement '
|
||||
'Not signed Change data sharing and financial agreement for the organisation'
|
||||
'Not signed Change data sharing and financial agreement for the organization'
|
||||
),
|
||||
'Request to go live notes None Change go live notes for the organisation',
|
||||
'Billing details None Change billing details for the organisation',
|
||||
'Notes None Change the notes for the organisation',
|
||||
'Default email branding GOV.UK Change default email branding for the organisation',
|
||||
'Known email domains None Change known email domains for the organisation',
|
||||
'Request to go live notes None Change go live notes for the organization',
|
||||
'Billing details None Change billing details for the organization',
|
||||
'Notes None Change the notes for the organization',
|
||||
'Default email branding GOV.UK Change default email branding for the organization',
|
||||
'Known email domains None Change known email domains for the organization',
|
||||
]
|
||||
|
||||
client_request.login(platform_admin_user)
|
||||
|
||||
@@ -94,7 +94,7 @@ def mock_get_service_settings_page_common(
|
||||
'Count in list of live services Yes Change if service is counted in list of live services',
|
||||
'Billing details None Change billing details for service',
|
||||
'Notes None Change the notes for the service',
|
||||
'Organization Test organisation Federal government Change organisation for service',
|
||||
'Organization Test organisation Federal government Change organization for service',
|
||||
'Rate limit 3,000 per minute Change rate limit',
|
||||
'Message limit 1,000 per day Change daily message limit',
|
||||
'Free text message allowance 250,000 per year Change free text message allowance',
|
||||
@@ -155,7 +155,7 @@ def test_no_go_live_link_for_service_without_organisation(
|
||||
|
||||
organisation = find_element_by_tag_and_partial_text(page, tag='td', string='Organization')
|
||||
assert normalize_spaces(organisation.find_next_siblings()[0].text) == 'Not set Federal government'
|
||||
assert normalize_spaces(organisation.find_next_siblings()[1].text) == 'Change organisation for service'
|
||||
assert normalize_spaces(organisation.find_next_siblings()[1].text) == 'Change organization for service'
|
||||
|
||||
|
||||
def test_organisation_name_links_to_org_dashboard(
|
||||
|
||||
@@ -154,11 +154,11 @@ def test_should_render_performance_page(
|
||||
'20 February 2021 99.25% '
|
||||
'Only showing the last 7 days '
|
||||
''
|
||||
'Organisations using Notify '
|
||||
'There are 111 organisations and 9,999 services using Notify. '
|
||||
'Organisations using Notify '
|
||||
'Organisation Number of live services '
|
||||
'Organizations using Notify '
|
||||
'There are 111 organizations and 9,999 services using Notify. '
|
||||
'Organizations using Notify '
|
||||
'Organization Number of live services '
|
||||
'Department of Examples and Patterns 2 '
|
||||
'Department of One Service 1 '
|
||||
'No organisation 1'
|
||||
'No organization 1'
|
||||
)
|
||||
|
||||
@@ -765,7 +765,7 @@ def test_get_live_services_report(
|
||||
)
|
||||
report = response.get_data(as_text=True)
|
||||
assert report.strip() == (
|
||||
'Service ID,Organisation,Organisation type,Service name,Consent to research,Main contact,Contact email,' +
|
||||
'Service ID,Organization,Organization type,Service name,Consent to research,Main contact,Contact email,' +
|
||||
'Contact mobile,Live date,SMS volume intent,Email volume intent,SMS sent this year,' +
|
||||
'Emails sent this year,Free sms allowance\r\n' +
|
||||
|
||||
|
||||
Reference in New Issue
Block a user