diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b92308a6..c3712da8e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: name: Run htmlproofer (no external links) command: bundle exec scripts/htmlproofer --internal - accessibility: + e2e: docker: - image: cimg/ruby:2.7-browsers environment: @@ -148,7 +148,7 @@ workflows: - test-external-links: requires: - build - - accessibility: + - e2e: requires: - build daily-external-link-checker: diff --git a/_config.yml b/_config.yml index 0c5cf2853..d434e0b43 100644 --- a/_config.yml +++ b/_config.yml @@ -16,6 +16,11 @@ contact_form_captcha_enabled: true contact_form_action: "https://webto.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8" contact_form_orgid: "00DU0000000Leux" +# Used to load country code support +idp_base_url: https://secure.login.gov +# for local development: +# idp_base_url: http://localhost:3000 + # Pages collections_dir: content collections: diff --git a/_includes/country_support_table.html b/_includes/country_support_table.html new file mode 100644 index 000000000..d010eeb90 --- /dev/null +++ b/_includes/country_support_table.html @@ -0,0 +1,44 @@ +{% comment %} +Should include these translations as includes: +- heading_country +- heading_dialing_code +- heading_sms +- heading_voice +- option_yes +- option_no +{% endcomment %} + + diff --git a/_includes/one_account_banner.html b/_includes/one_account_banner.html index 152aa3491..c6f2b64a0 100644 --- a/_includes/one_account_banner.html +++ b/_includes/one_account_banner.html @@ -1,6 +1,6 @@ {% if page.url == '/create-an-account/' %} {% assign link_class = 'usa-button usa-button--big' %} - {% assign link_url = 'https://secure.login.gov/sign_up/enter_email' %} + {% assign link_url = site.idp_base_url | append: '/sign_up/enter_email' %} {% capture link_content %} {{ site.data.[page.lang].settings.banner.one-account-for-govt.create }} {% endcapture %} diff --git a/_includes/sign_in.html b/_includes/sign_in.html index 5278d77a6..2be45effa 100644 --- a/_includes/sign_in.html +++ b/_includes/sign_in.html @@ -1,6 +1,6 @@