diff --git a/src/applications/registry.json b/src/applications/registry.json
index d812673d9e..979246c7cb 100644
--- a/src/applications/registry.json
+++ b/src/applications/registry.json
@@ -411,12 +411,12 @@
{
"appName": "Post 9/11 GI Bill Status",
"entryName": "post-911-gib-status",
- "rootUrl": "/education/gi-bill/post-9-11/ch-33-benefit/status",
+ "rootUrl": "/education/check-remaining-post-9-11-gi-bill-benefits/status",
"template": {
"layout": "page-react.html",
- "title": "Check Your Post-9/11 GI Bill Benefits Status",
- "heading": "Check your Post-9/11 GI Bill benefits status",
- "display_title": "Check Post-9/11 GI Bill benefits",
+ "title": "Check your remaining Post-9/11 GI Bill benefits",
+ "heading": "Check your remaining Post-9/11 GI Bill benefits",
+ "display_title": "Check your remaining Post-9/11 GI Bill benefits",
"collection": "education",
"spoke": "Manage benefits",
"order": 2,
@@ -429,20 +429,8 @@
"name": "Education and training"
},
{
- "path": "education/about-gi-bill-benefits/",
- "name": "GI Bill"
- },
- {
- "path": "education/about-gi-bill-benefits/post-9-11/",
- "name": "Post-9/11 GI Bill"
- },
- {
- "path": "education/gi-bill/post-9-11/ch-33-benefit/",
- "name": "Check Post-9/11 GI Bill benefits"
- },
- {
- "path": "education/gi-bill/post-9-11/ch-33-benefit/status",
- "name": "Post-9/11 GI Bill Statement of Benefits"
+ "path": "education/check-remaining-post-9-11-gi-bill-benefits/status",
+ "name": "Check your remaining Post-9/11 GI Bill benefits"
}
]
}
@@ -1739,8 +1727,8 @@
},
{
"appName": "Discover Your Benefits",
- "entryName": "benefit-eligibility-questionnaire",
- "rootUrl": "/benefit-eligibility-questionnaire",
+ "entryName": "discover-your-benefits",
+ "rootUrl": "/discover-your-benefits",
"productId": "87f2c91f-46c3-4461-8890-3636130af4ab",
"template": {
"vagovprod": false,
diff --git a/src/site/facilities/facilities_health_services_buttons.drupal.liquid b/src/site/facilities/facilities_health_services_buttons.drupal.liquid
index 3c302e40e5..f61bbb360e 100644
--- a/src/site/facilities/facilities_health_services_buttons.drupal.liquid
+++ b/src/site/facilities/facilities_health_services_buttons.drupal.liquid
@@ -2,14 +2,23 @@
This is used for Facility details pages and (A-Z) Health Services page
{% endcomment %}
-
- {% assign topTask = "make-an-appointment" | topTaskLovellComp: path, buildtype, fieldAdministration, fieldVamcEhrSystem, fieldRegionPage, fieldOffice %}
-
{{topTask.text}}
-
-
-
+ {% assign topTask = "make-an-appointment" | topTaskLovellComp: path, buildtype, fieldAdministration, fieldVamcEhrSystem, fieldRegionPage, fieldOffice %}
+
+
+
diff --git a/src/site/layouts/campaign_landing_page.drupal.liquid b/src/site/layouts/campaign_landing_page.drupal.liquid
index a2a435d1ce..3b4f2924d4 100644
--- a/src/site/layouts/campaign_landing_page.drupal.liquid
+++ b/src/site/layouts/campaign_landing_page.drupal.liquid
@@ -529,26 +529,26 @@
- {% if fieldRelatedOffice.entity.fieldExternalLink.title %}
- {% assign socialLinksObject = fieldRelatedOffice.entity.fieldSocialMediaLinks.platformValues | jsonToObj %}
+ {% if fieldConnectWithUs.entity.fieldExternalLink.title %}
+ {% assign socialLinksObject = fieldConnectWithUs.entity.fieldSocialMediaLinks.platformValues | jsonToObj %}
Connect with us
-
Get updates from {{ fieldRelatedOffice.entity.fieldExternalLink.title }}
+
Get updates from {{ fieldConnectWithUs.entity.fieldExternalLink.title }}
- {% if fieldRelatedOffice.entity.fieldEmailUpdatesLink.url.path and fieldRelatedOffice.entity.fieldEmailUpdatesLink.title %}
+ {% if fieldConnectWithUs.entity.fieldEmailUpdatesLink.url.path and fieldConnectWithUs.entity.fieldEmailUpdatesLink.title %}
@@ -560,7 +560,7 @@
@@ -572,7 +572,7 @@
@@ -584,7 +584,7 @@
@@ -596,7 +596,7 @@
@@ -608,7 +608,7 @@
diff --git a/src/site/layouts/landing_page.drupal.liquid b/src/site/layouts/landing_page.drupal.liquid
index 7237b006c9..78e8fefcc6 100644
--- a/src/site/layouts/landing_page.drupal.liquid
+++ b/src/site/layouts/landing_page.drupal.liquid
@@ -140,7 +140,7 @@
{% endif %}
- {% if fieldRelatedOffice != empty and fieldRelatedOffice.entity.fieldExternalLink.title != "Records benefits hub" %}
+ {% if fieldConnectWithUs != empty and fieldConnectWithUs.entity.fieldExternalLink.title != "Records benefits hub" %}
- {% if fieldRelatedOffice.entity.fieldExternalLink.url.path != empty %}
+ id="{{ fieldConnectWithUs.entity.fieldExternalLink.title | hashReference: 60 }}">
+ {% if fieldConnectWithUs.entity.fieldExternalLink.url.path != empty %}
{% endif %}
@@ -163,8 +163,8 @@
@@ -172,7 +172,7 @@
Follow us
- {% assign socialLinks = fieldRelatedOffice.entity.fieldSocialMediaLinks.platformValues | jsonToObj %}
+ {% assign socialLinks = fieldConnectWithUs.entity.fieldSocialMediaLinks.platformValues | jsonToObj %}
{% assign socialPlatforms = socialLinks | keys %}
{% for socialPlatform in socialPlatforms %}
@@ -193,7 +193,7 @@
class="vads-u-color--link-default vads-u-padding-right--0p5">
@@ -219,4 +219,4 @@
{% endif %}
{% include "src/site/includes/footer.html" %}
-{% include "src/site/includes/debug.drupal.liquid" %}
\ No newline at end of file
+{% include "src/site/includes/debug.drupal.liquid" %}
diff --git a/src/site/stages/build/drupal/graphql/landingPage.graphql.js b/src/site/stages/build/drupal/graphql/landingPage.graphql.js
index 2fcf73677f..23dbbac954 100644
--- a/src/site/stages/build/drupal/graphql/landingPage.graphql.js
+++ b/src/site/stages/build/drupal/graphql/landingPage.graphql.js
@@ -58,9 +58,9 @@ const landingPageFragment = `
date
}
fieldTeaserText
- fieldRelatedOffice {
+ fieldConnectWithUs {
entity {
- ... on NodeOffice {
+ ... on BlockContentConnectWithUs {
fieldExternalLink {
url {
path
diff --git a/src/site/stages/build/drupal/graphql/nodeCampaignLandingPage.graphql.js b/src/site/stages/build/drupal/graphql/nodeCampaignLandingPage.graphql.js
index 69641b80fc..e22e827940 100644
--- a/src/site/stages/build/drupal/graphql/nodeCampaignLandingPage.graphql.js
+++ b/src/site/stages/build/drupal/graphql/nodeCampaignLandingPage.graphql.js
@@ -323,9 +323,9 @@ const nodeCampaignLandingPage = `
... button
}
}
- fieldRelatedOffice {
+ fieldConnectWithUs {
entity {
- ... on NodeOffice {
+ ... on BlockContentConnectWithUs {
fieldExternalLink {
url {
path
diff --git a/src/site/tests/cypress/vamc-lovell.cypress.spec.js b/src/site/tests/cypress/vamc-lovell.cypress.spec.js
index 18f6667584..c86fe19f5b 100644
--- a/src/site/tests/cypress/vamc-lovell.cypress.spec.js
+++ b/src/site/tests/cypress/vamc-lovell.cypress.spec.js
@@ -1,34 +1,45 @@
import { expect } from 'chai';
+const verifyActionLink = (expectedText, expectedHref) =>
+ cy
+ .get('va-link-action')
+ .eq(0)
+ .shadow()
+ .find('a')
+ .should('be.visible')
+ .should('have.text', expectedText)
+ .should('have.attr', 'href')
+ .and('include', expectedHref);
+
describe('VAMC Lovell - All TRICARE pages with expected MHS Genesis Patient Portal Top Task have it', () => {
it('TRICARE system has MHS Genesis Patient Portal link', () => {
cy.visit('/lovell-federal-health-care-tricare/');
cy.injectAxeThenAxeCheck();
+
cy.findByText('MHS Genesis Patient Portal').then(el => {
const attr = el.attr('href');
expect(attr).to.equal('https://my.mhsgenesis.health.mil/');
});
- // https://www.va.gov/lovell-federal-health-care-tricare/
});
it('TRICARE Health services has MHS Genesis Patient Portal link', () => {
cy.visit('/lovell-federal-health-care-tricare/health-services');
cy.injectAxeThenAxeCheck();
- cy.findByText('MHS Genesis Patient Portal').then(el => {
- const attr = el.attr('href');
- expect(attr).to.equal('https://my.mhsgenesis.health.mil/');
- });
- // https://www.va.gov/lovell-federal-health-care-tricare/health-services/
+
+ verifyActionLink(
+ 'MHS Genesis Patient Portal',
+ 'https://my.mhsgenesis.health.mil/',
+ );
});
it('TRICARE Locations has MHS Genesis Patient Portal link', () => {
cy.visit('/lovell-federal-health-care-tricare/locations');
cy.injectAxeThenAxeCheck();
+
cy.findByText('MHS Genesis Patient Portal').then(el => {
const attr = el.attr('href');
expect(attr).to.equal('https://my.mhsgenesis.health.mil/');
});
- // https://www.va.gov/lovell-federal-health-care-tricare/locations/
});
it('TRICARE Captain James A. Lovell Location has MHS Genesis Patient Portal link', () => {
@@ -36,11 +47,11 @@ describe('VAMC Lovell - All TRICARE pages with expected MHS Genesis Patient Port
'/lovell-federal-health-care-tricare/locations/captain-james-a-lovell-federal-health-care-center/',
);
cy.injectAxeThenAxeCheck();
- cy.findByText('MHS Genesis Patient Portal').then(el => {
- const attr = el.attr('href');
- expect(attr).to.equal('https://my.mhsgenesis.health.mil/');
- });
- // https://www.va.gov/lovell-federal-health-care-tricare/locations/captain-james-a-lovell-federal-health-care-center/
+
+ verifyActionLink(
+ 'MHS Genesis Patient Portal',
+ 'https://my.mhsgenesis.health.mil/',
+ );
});
});
@@ -48,42 +59,43 @@ describe('VAMC Lovell - All VA pages with expected Make an appointment Top Task
it('VA system has Make an appointment link', () => {
cy.visit('/lovell-federal-health-care-va/');
cy.injectAxeThenAxeCheck();
+
cy.findByText('Make an appointment').then(el => {
const attr = el.attr('href');
expect(attr.endsWith('make-an-appointment')).to.be.true;
});
- // https://www.va.gov/lovell-federal-health-care-va/
});
it('VA Health services has Make an appointment link', () => {
cy.visit('/lovell-federal-health-care-va/health-services/');
cy.injectAxeThenAxeCheck();
- cy.findByText('Make an appointment').then(el => {
- const attr = el.attr('href');
- expect(attr.endsWith('make-an-appointment')).to.be.true;
- });
- // https://www.va.gov/lovell-federal-health-care-va/health-services/
+
+ verifyActionLink(
+ 'Make an appointment',
+ '/lovell-federal-health-care-va/make-an-appointment',
+ );
});
it('VA Locations has Make an appointment link', () => {
cy.visit('/lovell-federal-health-care-va/locations/');
cy.injectAxeThenAxeCheck();
+
cy.findByText('Make an appointment').then(el => {
const attr = el.attr('href');
expect(attr.endsWith('make-an-appointment')).to.be.true;
});
- // https://www.va.gov/lovell-federal-health-care-va/locations/
});
+
it('VA Captain James A. Lovell Location has Make an appointment link', () => {
cy.visit(
'/lovell-federal-health-care-va/locations/captain-james-a-lovell-federal-health-care-center/',
);
cy.injectAxeThenAxeCheck();
- cy.findByText('Make an appointment').then(el => {
- const attr = el.attr('href');
- expect(attr.endsWith('make-an-appointment')).to.be.true;
- });
- // https://www.va.gov/lovell-federal-health-care-va/locations/captain-james-a-lovell-federal-health-care-center/
+
+ verifyActionLink(
+ 'Make an appointment',
+ '/lovell-federal-health-care-va/make-an-appointment',
+ );
});
});