mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-26 02:11:49 -04:00
Merge pull request #3247 from alphagov/buttony
Make create account button more buttony
This commit is contained in:
@@ -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 you’ve used
|
||||
|
||||
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user