Merge pull request #3247 from alphagov/buttony

Make create account button more buttony
This commit is contained in:
Chris Hill-Scott
2020-01-13 10:35:34 +00:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -31,7 +31,7 @@
Try GOV.UK Notify now if you work in central government, a local authority, or the NHS.
</p>
<div class="button-container">
<a class="button button-start" href='{{ url_for('.register' )}}'>
<a class="button button-start" role="button" draggable="false" href='{{ url_for('.register' )}}'>
Create an account
</a>
or <a href="{{ url_for('.sign_in' )}}">sign in</a> if youve used

View File

@@ -21,6 +21,10 @@ def test_non_logged_in_user_can_see_homepage(
'Send emails, text messages and letters to your users'
)
assert page.select_one('a[role=button][draggable=false]')['href'] == url_for(
'main.register'
)
assert page.select_one('meta[name=description]')['content'].strip() == (
'GOV.UK Notify lets you send emails, text messages and letters '
'to your users. Try it now if you work in central government, a '