mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 07:08:24 -04:00
Update dashboard and template flow (#514)
* Updated header and footer * Moved files around and updated gulpfile to correct the build process when it goes to production * Updated fonts * Adjusted grid templating * Adding images to assets * Updated account pages, dashboard, and pages in message sending flow * Updated the styling for the landing pages in the account section once logged in
This commit is contained in:
@@ -26,7 +26,7 @@ def test_email_branding_page_shows_full_branding_list(
|
||||
page.select_one('h1').text
|
||||
) == "Email branding"
|
||||
|
||||
assert page.select('.govuk-grid-column-three-quarters a')[-1]['href'] == url_for('main.create_email_branding')
|
||||
assert page.select('.grid-col-10 a')[-1]['href'] == url_for('main.create_email_branding')
|
||||
|
||||
assert brand_names == [
|
||||
'org 1',
|
||||
@@ -142,7 +142,7 @@ def test_create_email_branding_requires_a_name_when_submitting_logo_details(
|
||||
_expected_status=200,
|
||||
)
|
||||
|
||||
assert page.select_one('.govuk-error-message').text.strip() == 'Error: This field is required'
|
||||
assert page.select_one('.usa-error-message').text.strip() == 'Error: This field is required'
|
||||
assert mock_create_email_branding.called is False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user