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:
Jonathan Bobel
2023-06-08 13:12:00 -04:00
committed by GitHub
parent c3e1235a96
commit e0d2d74067
87 changed files with 409 additions and 354 deletions

View File

@@ -225,7 +225,7 @@ def test_should_show_live_search_if_more_than_7_users(
)
assert len(page.select('.user-list-item')) == number_of_users
textbox = page.select_one('[data-module=autofocus] .govuk-input')
textbox = page.select_one('[data-module=autofocus] .usa-input')
assert 'value' not in textbox
assert textbox['name'] == 'search'
# data-module=autofocus is set on a containing element so it
@@ -233,7 +233,7 @@ def test_should_show_live_search_if_more_than_7_users(
assert 'data-module' not in textbox
assert not page.select_one('[data-force-focus]')
assert textbox['class'] == [
'govuk-input', 'govuk-!-width-full',
'usa-input', 'govuk-!-width-full',
]
assert normalize_spaces(
page.select_one('label[for=search]').text
@@ -1288,7 +1288,7 @@ def test_user_cant_invite_themselves(
_expected_status=200,
)
assert page.h1.string.strip() == 'Invite a team member'
form_error = page.find('span', class_='govuk-error-message').text.strip()
form_error = page.find('span', class_='usa-error-message').text.strip()
assert form_error == "Error: You cannot send an invitation to yourself"
assert not mock_create_invite.called
@@ -1572,7 +1572,7 @@ def test_edit_user_email_cannot_change_a_gov_email_address_to_a_non_gov_email_ad
},
_expected_status=200,
)
assert 'Enter a public sector email address' in page.select_one('.govuk-error-message').text
assert 'Enter a public sector email address' in page.select_one('.usa-error-message').text
with client_request.session_transaction() as session:
assert 'team_member_email_change-{}'.format(active_user_with_permissions['id']) not in session