Skip to content

Commit 94dbea4

Browse files
committed
Merge branch 'main' into 98086-draft-forms
2 parents bc198cd + b9fcaef commit 94dbea4

File tree

3 files changed

+30
-16
lines changed

3 files changed

+30
-16
lines changed

.github/workflows/continuous-integration.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -450,21 +450,21 @@ jobs:
450450
report_paths: 'test-results/e2e-test-output-*.xml'
451451

452452
- name: Archive Cypress test videos
453-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
453+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
454454
if: ${{ failure() }}
455455
with:
456456
name: cypress-video-artifacts
457457
path: cypress/videos
458458

459459
- name: Archive Cypress test screenshots
460-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
460+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
461461
if: ${{ failure() }}
462462
with:
463463
name: cypress-screenshot-artifacts
464464
path: cypress/screenshots
465465

466466
- name: Archive Mochawesome test results
467-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
467+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
468468
if: ${{ always() }}
469469
with:
470470
name: cypress-mochawesome-test-results
@@ -534,7 +534,7 @@ jobs:
534534
working-directory: testing-tools-team-dashboard-data
535535

536536
- name: Download Mochawesome test results
537-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
537+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
538538
with:
539539
name: cypress-mochawesome-test-results
540540
path: testing-tools-team-dashboard-data/src/testing-reports/data
@@ -573,7 +573,7 @@ jobs:
573573

574574
- name: Download video artifacts
575575
if: ${{ needs.cypress-tests.result == 'failure' }}
576-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
576+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
577577
with:
578578
name: cypress-video-artifacts
579579
path: testing-tools-team-dashboard-data/testing-reports/videos/${{ env.UUID }}

src/applications/registry.json

+10-9
Original file line numberDiff line numberDiff line change
@@ -836,13 +836,13 @@
836836
}
837837
},
838838
{
839-
"appName": "Ask VA Integration Project",
840-
"entryName": "ask-va-too",
841-
"rootUrl": "/contact-us/ask-va-too",
839+
"appName": "Ask VA",
840+
"entryName": "ask-va",
841+
"rootUrl": "/contact-us/ask-va",
842842
"template": {
843843
"vagovprod": false,
844844
"layout": "page-react.html",
845-
"title": "Ask VA Integration Project",
845+
"title": "Ask VA",
846846
"description": "Ask VA (AVA) is an online portal that allows veterans, caregivers, and supporting personnel in education, debt, loans, etc. to submit questions to VA and receive a secure message response."
847847
}
848848
},
@@ -950,7 +950,7 @@
950950
{
951951
"appName": "My Education Benefits",
952952
"entryName": "1990ez-edu-benefits",
953-
"rootUrl": "/education/apply-for-benefits-form-22-1990",
953+
"rootUrl": "/education/apply-for-gi-bill-form-22-1990",
954954
"template": {
955955
"vagovprod": true,
956956
"layout": "page-react.html"
@@ -1059,7 +1059,7 @@
10591059
{
10601060
"appName": "Apply to use transferred education benefits",
10611061
"entryName": "toe",
1062-
"rootUrl": "/education/survivor-dependent-benefits/apply-for-transferred-benefits-form-22-1990e",
1062+
"rootUrl": "/family-and-caregiver-benefits/education-and-careers/transferred-gi-bill-benefits/apply-form-22-1990e",
10631063
"productId": "1d535d31-c2d8-46c1-8994-a42e0860204c",
10641064
"template": {
10651065
"vagovprod": true,
@@ -1179,7 +1179,7 @@
11791179
{
11801180
"appName": "Form Upload Flow",
11811181
"entryName": "form-upload-flow",
1182-
"rootUrl": "/form-upload",
1182+
"rootUrl": "/find-forms/upload",
11831183
"productId": "88558f52-5c6c-447f-ab78-e006b01a32db",
11841184
"template": {
11851185
"vagovprod": false,
@@ -1655,7 +1655,7 @@
16551655
{
16561656
"appName": "22-10282 IBM Skillsbuild Training Program Intake Application",
16571657
"entryName": "10282-edu-benefits",
1658-
"rootUrl": "/education/apply-for-education-benefits/10282",
1658+
"rootUrl": "/education/other-va-education-benefits/ibm-skillsbuild-program/apply-form-22-10282",
16591659
"productId": "4172a63c-b93a-499e-946c-048da7a5cb6d",
16601660
"template": {
16611661
"vagovprod": false,
@@ -1694,7 +1694,8 @@
16941694
"title": "Explore pattern demonstrations in our sample form",
16951695
"subtitle": "Mock Form Minimal Header",
16961696
"excludePaths": ["/introduction", "/confirmation"]
1697-
}
1697+
},
1698+
"minimalFooter": true
16981699
}
16991700
},
17001701
{

src/site/stages/build/drupal/process-manila-pages.js

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/* eslint-disable no-param-reassign */
2+
const { ENTITY_BUNDLES } = require('../../../constants/content-modeling');
3+
24
const MANILA_VA_CLINIC_ENTITY_ID = '1187';
35

46
function getManilaClinicUrl(path) {
@@ -13,14 +15,21 @@ function isManilaVAClinicPage(page) {
1315
);
1416
}
1517

18+
function isManillaVaRegionHomepage(page) {
19+
return (
20+
isManilaVAClinicPage(page) &&
21+
page?.entityBundle === ENTITY_BUNDLES.HEALTH_CARE_REGION_PAGE
22+
);
23+
}
24+
1625
function updateManilaSystemLinks(page) {
1726
// Update main URL path
18-
if (page.entityUrl?.path) {
27+
if (page?.entityUrl?.path) {
1928
page.entityUrl.path = getManilaClinicUrl(page.entityUrl.path);
2029
}
2130

2231
// Update breadcrumb links
23-
if (page.entityUrl?.breadcrumb) {
32+
if (page?.entityUrl?.breadcrumb) {
2433
page.entityUrl.breadcrumb = page.entityUrl.breadcrumb.map(crumb => ({
2534
...crumb,
2635
url: crumb.url ? getManilaClinicUrl(crumb.url) : crumb.url,
@@ -53,6 +62,10 @@ function processManilaPages(drupalData) {
5362
if (isManilaVAClinicPage(page)) {
5463
acc.manilaVAClinicPages.push(page);
5564
} else {
65+
// Federal Region Homepage should not be created for Manila VA Clinic
66+
if (isManillaVaRegionHomepage(page)) {
67+
return acc;
68+
}
5669
acc.otherPages.push(page);
5770
}
5871

0 commit comments

Comments
 (0)