Merge pull request #658 from GSA/649-edit-landing-page-content

649 edit landing page content
This commit is contained in:
Steven Reilly
2023-07-28 15:21:20 -04:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -19,12 +19,11 @@ Notify.gov
<h1 class="font-serif-2xl usa-hero__heading">Send text messages to your participants</h1>
<p class="font-sans-lg">Notify.gov is a text messaging service that helps federal, state, local, tribal, and territorial governments more
effectively communicate with their program participants.</p>
<p class="font-sans-lg margin-bottom-5">Currently we are only working with select partners during a pilot period.</p>
<div class="usa-button-group margin-bottom-5">
<a class="usa-button usa-button--big margin-right-2" href="{{ url_for('main.sign_in' )}}">Sign in</a>
if you are an existing pilot partner
</div>
<p class="font-sans-md">If you are interested in using Notify.gov in the future, please contact <br><a href="mailto:tts-benefits-studio@gsa.gov">tts-benefits-studio@gsa.gov</a> to learn more.</p>
<p class="font-sans-md">Currently we are only working with select pilot partners. If you are interested in using Notify.gov in the future, please contact <br><a href="mailto:tts-benefits-studio@gsa.gov">tts-benefits-studio@gsa.gov</a> to learn more.</p>
</div>
<div class="desktop:grid-col-4 grid-offset-1 desktop:display-block display-none margin-x-5">
<img src="{{ asset_url('images/product/phone-text.png') }}"

View File

@@ -10,7 +10,7 @@ def test_landing_page(end_to_end_auth_context):
page.goto(os.environ.get('NOTIFY_STAGING_URI'))
# Check the page title exists and matches what we expect.
expect(page).to_have_title(re.compile('U.S. Notify'))
expect(page).to_have_title(re.compile('Notify.gov'))
# Retrieve some prominent elements on the page for testing.
main_header = page.get_by_role(
@@ -65,7 +65,7 @@ def test_sign_in_page(end_to_end_auth_context):
# the template itself.
# TODO: Improve this check, or change it so no special character is
# needed. Better yet, fix the template(s) character too.
expect(page).to_have_title(re.compile('Sign in U.S. Notify'))
expect(page).to_have_title(re.compile('Sign in Notify.gov'))
# Check for the sign in heading.
sign_in_heading = page.get_by_role('heading', name='Sign in')