diff --git a/services/ui-src/src/Routes.tsx b/services/ui-src/src/Routes.tsx index 7c7b4e6d4..ec09c3b52 100644 --- a/services/ui-src/src/Routes.tsx +++ b/services/ui-src/src/Routes.tsx @@ -50,7 +50,9 @@ import WaiverAppendixKWithdraw from "./page/waiver-appendix-k/WaiverAppendixKWit import WaiverAppendixKRAIForm from "./page/waiver-appendix-k/WaiverAppendixKRAIForm"; import DescribeForms from "./page/DescribeForms"; import EventList from "./page/event/EventList"; +import MedicaidABPLandingPage from "./page/landing/MedicaidABPLandingPage"; import EventDetail from "./page/event/EventDetail"; +import CHIPEligibilityLandingPage from "./page/landing/CHIPEligibilityLandingPage"; import MedicaidEligibilityLandingPage from "./page/landing/MedicaidEligibilityLandingPage"; import InitialWaiverB4Form from "./page/initial-waiver/InitialWaiverB4Form"; import InitialWaiverBForm from "./page/initial-waiver/InitialWaiverBForm"; @@ -438,11 +440,21 @@ const ROUTE_LIST: RouteSpec[] = [ exact: true, component: AttachmentLanding, }, + { + path: ROUTES.ABP_LANDING, + exact: true, + component: MedicaidABPLandingPage, + }, { path: ROUTES.MEDICAID_ELIGIBILITY_LANDING, exact: true, component: MedicaidEligibilityLandingPage, }, + { + path: ROUTES.CHIP_ELIGIBILITY_LANDING, + exact: true, + component: CHIPEligibilityLandingPage, + }, { path: ONEMAC_ROUTES.FORMS_DESCRIBE, component: accessGuardRouteListRenderer("canAccessAdminTools"), diff --git a/services/ui-src/src/components/TriageExternalLandingPage.tsx b/services/ui-src/src/components/TriageExternalLandingPage.tsx index 22a83264c..6b14ddca1 100644 --- a/services/ui-src/src/components/TriageExternalLandingPage.tsx +++ b/services/ui-src/src/components/TriageExternalLandingPage.tsx @@ -6,6 +6,7 @@ import { Link } from "@material-ui/core"; export enum ExternalSystem { MAC_PRO = "https://www.medicaid.gov/resources-for-states/medicaid-and-chip-program-macpro-portal/index.html#MACPro", + MMDL = "https://wms-mmdl.cms.gov/MMDL/faces/portal.jsp", } export interface TriageLandingPageConfig { diff --git a/services/ui-src/src/libs/triageChoices.js b/services/ui-src/src/libs/triageChoices.js index 8ef70e9a6..95eadff96 100644 --- a/services/ui-src/src/libs/triageChoices.js +++ b/services/ui-src/src/libs/triageChoices.js @@ -44,6 +44,12 @@ export const choicesFromRoute = { description: "Redirects to the MACPro Appian submission system", linkTo: ROUTES.MEDICAID_ELIGIBILITY_LANDING, }, + { + title: + "Medicaid Alternative Benefits Plans (ABP), and Medicaid Premiums and Cost Sharing", + description: "Redirects to MMDL submission system", + linkTo: ROUTES.ABP_LANDING, + }, { title: "All Other Medicaid SPA Submissions", description: "Create a new Medicaid State Plan Amendment", @@ -55,6 +61,11 @@ export const choicesFromRoute = { heading: "CHIP SPA Type", intro: "Select a CHIP SPA type to create your submission", choices: [ + { + title: "CHIP Eligibility", + description: "Redirects to MMDL submission system", + linkTo: ROUTES.CHIP_ELIGIBILITY_LANDING, + }, { title: "All Other CHIP SPA Submissions", description: "Create a new Medicaid State Plan Amendment", diff --git a/services/ui-src/src/page/landing/CHIPEligibilityLandingPage.tsx b/services/ui-src/src/page/landing/CHIPEligibilityLandingPage.tsx new file mode 100644 index 000000000..b6c4b0029 --- /dev/null +++ b/services/ui-src/src/page/landing/CHIPEligibilityLandingPage.tsx @@ -0,0 +1,36 @@ +import React from "react"; +import TriageExternalLandingPage, { + ExternalSystem, + TriageLandingPageConfig, +} from "../../components/TriageExternalLandingPage"; + +// config for /chip-eligibility +export const chipEligibilityLandingConfig: TriageLandingPageConfig = { + pageTitle: "CHIP Eligibility SPAs", + logoJSX: MMDL Logo, + descriptionJSX: ( + <> +

+ + CHIP Eligibility SPAs are managed within the{" "} + + Medicaid Model Data Lab (MMDL) + + . + +

+

+ The MMDL system allows states to apply for changes to their State plan, + and access report on Medicaid program administration/implementation. +

+ + ), + buttonLabel: "Enter the MMDL system", + buttonLink: ExternalSystem.MMDL, +}; + +const CHIPEligibilityLandingPage = () => ( + +); + +export default CHIPEligibilityLandingPage; diff --git a/services/ui-src/src/page/landing/MedicaidABPLandingPage.tsx b/services/ui-src/src/page/landing/MedicaidABPLandingPage.tsx new file mode 100644 index 000000000..392c80a82 --- /dev/null +++ b/services/ui-src/src/page/landing/MedicaidABPLandingPage.tsx @@ -0,0 +1,38 @@ +import React from "react"; +import TriageExternalLandingPage, { + ExternalSystem, + TriageLandingPageConfig, +} from "../../components/TriageExternalLandingPage"; + +// config for /medicaid-abp +const ABPLandingConfig: TriageLandingPageConfig = { + pageTitle: + "Medicaid Alternative Benefits Plans (ABP), and Medicaid Premiums and Cost Sharing", + logoJSX: MMDL Logo, + descriptionJSX: ( + <> +

+ + Medicaid Alternative Benefits Plans (ABP), and Medicaid Premiums and + Cost Sharing are managed within the{" "} + + Medicaid Model Data Lab (MMDL) + + . + +

+

+ The MMDL system allows states to apply for changes to their State plan, + and access report on Medicaid program administration/implementation. +

+ + ), + buttonLabel: "Enter the MMDL system", + buttonLink: ExternalSystem.MMDL, +}; + +const MedicaidABPLandingPage = () => ( + +); + +export default MedicaidABPLandingPage; diff --git a/tests/cypress/support/pages/oneMacFormPage.js b/tests/cypress/support/pages/oneMacFormPage.js index 463a8413e..8f79034d6 100644 --- a/tests/cypress/support/pages/oneMacFormPage.js +++ b/tests/cypress/support/pages/oneMacFormPage.js @@ -13,6 +13,7 @@ const modalCancelBTN = const attachmentInfoDescription = "//h3[text()='Attachments']/following-sibling::p[1]"; const enterMacProBtn = "//button[contains(text(),'Enter the MACPro system')]"; +const enterMmdlBtn = "//button[contains(text(),'Enter the MMDL system')]"; const IDInputBox = idElement; const errorMessageID = "#componentIdStatusMsg0"; const errorMessageLine2ID = "#componentIdStatusMsg1"; @@ -282,6 +283,17 @@ export class oneMacFormPage { } } + verifyMmdlSystemBtn() { + cy.xpath(enterMmdlBtn).should("be.visible"); + cy.xpath(enterMmdlBtn) + .parent("a") + .should( + "have.attr", + "href", + "https://wms-mmdl.cms.gov/MMDL/faces/portal.jsp" + ); + } + verifyMacProSystemBtn() { cy.xpath(enterMacProBtn).should("be.visible"); cy.xpath(enterMacProBtn)