diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 2499692c7..f1f41598c 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -344,6 +344,13 @@ jobs:
Withdraw_Package_Form_Medicaid_SPA.spec.feature,
Withdraw_Package_Form_Waiver_Amendment.spec.feature,
Withdraw_Package_Form_Waiver_Renewal.spec.feature,
+ Subsequent_Submission_1915b_Amendment_Waiver.spec.feature,
+ Subsequent_Submission_1915c_Appendix_K.spec.feature,
+ Subsequent_Submission_CHIP_Spa.spec.feature,
+ Subsequent_Submission_Initial_Waiver.spec.feature,
+ Subsequent_Submission_Medicaid_Spa.spec.feature,
+ Subsequent_Submission_Renewal_Waiver.spec.feature,
+ Dashboard_RAI_Withdraw_Enabled_Actions.spec.feature,
]
steps:
- name: set branch_name
diff --git a/services/app-api/email/CMSSubsequentSubmissionNotice.js b/services/app-api/email/CMSSubsequentSubmissionNotice.js
new file mode 100644
index 000000000..8743ab7b0
--- /dev/null
+++ b/services/app-api/email/CMSSubsequentSubmissionNotice.js
@@ -0,0 +1,60 @@
+import { formatPackageDetails } from "./formatPackageDetails.js";
+import { getCPOCandSRTEmailAddresses } from "../utils/getCpocAndSrtEmail.js";
+
+/**
+ * Package Submission email to CMS
+ * @param {Object} data from the package.
+ * @returns {Object} email parameters in generic format.
+ */
+export const CMSSubsequentSubmissionNotice = async (data, config) => {
+ data.submitterName = ""; // remove this bc we dont want it on the cms email
+ const CMSEmailItem = await getCPOCandSRTEmailAddresses(data.componentId);
+
+ const ToAddresses = CMSEmailItem.reviewTeamEmailList
+ ? [...CMSEmailItem.reviewTeamEmailList]
+ : [];
+
+ CMSEmailItem?.cpocEmail && ToAddresses.push(CMSEmailItem.cpocEmail);
+ // changing config to match the docs in this one instance
+ if (config.idLabel === "SPA ID") {
+ let typeLabel = config.typeLabel;
+ // cut the type label at sub sub and set that at the new idLabel
+ typeLabel = typeLabel
+ .substring(0, typeLabel.indexOf("Subsequent Submission"))
+ .trim();
+ config.idLabel = `${typeLabel} Package ID`;
+ }
+
+ return {
+ ToAddresses: ToAddresses,
+ CcAddresses: [],
+ Subject: `Action required: review new documents for ${config.typeLabel} ${data.componentId}`,
+ HTML: `
+
New documents have been submitted for ${config.typeLabel} ${
+ data.componentId
+ } in OneMAC.
+ ${formatPackageDetails(data, config)}
+
How to access:
+
+
+ These documents can be found in OneMAC through this link.
+
+
+ If you are not already logged in, please click the "Login" link at the
+ top of the page and log in using your Enterprise User Administration
+ (EUA) credentials.
+
+
+ After you have logged in, you will be taken to the OneMAC application.
+ The submission will be listed on the dashboard page, and you can view
+ its details by clicking on its ID number.
+
+
+
+
If the contents of this email seem suspicious, do not open them, and instead forward this email to SPAM@cms.hhs.gov.
+
Thank you!
+ `,
+ };
+};
diff --git a/services/app-api/email/CMSSubsequentSubmissionNotice.test.js b/services/app-api/email/CMSSubsequentSubmissionNotice.test.js
new file mode 100644
index 000000000..85a782336
--- /dev/null
+++ b/services/app-api/email/CMSSubsequentSubmissionNotice.test.js
@@ -0,0 +1,26 @@
+import { CMSSubsequentSubmissionNotice } from "./CMSSubsequentSubmissionNotice";
+
+it("builds the CMS Submission Notice Email", async () => {
+ const testData = {
+ submitterName: "name",
+ componentId: "MI-11-1111-22",
+ proposedEffectiveDate: "2022-06-07",
+ };
+ const testConfig = {
+ typeLabel: "Test Type",
+ };
+ const warnings = [];
+
+ const response2 = await CMSSubsequentSubmissionNotice(testData, testConfig);
+
+ expect(response2.Subject).toBe(
+ "Subsequent Documentation for " +
+ testConfig.typeLabel +
+ " " +
+ testData.componentId
+ );
+
+ expect(response2.HTML.includes(testData.componentId)).toBe(true);
+ expect(response2.HTML.includes(process.env.applicationEndpoint)).toBe(true);
+ expect(response2.HTML.length).toBe(1293);
+});
diff --git a/services/app-api/email/CMSWithdrawRaiNotice.js b/services/app-api/email/CMSWithdrawRaiNotice.js
index 34959f740..a181ef79c 100644
--- a/services/app-api/email/CMSWithdrawRaiNotice.js
+++ b/services/app-api/email/CMSWithdrawRaiNotice.js
@@ -1,27 +1,6 @@
-import dynamoDb from "../libs/dynamodb-lib";
-
import { ONEMAC_TYPE } from "cmscommonlib/workflow.js";
import { formatPackageDetails } from "./formatPackageDetails.js";
-
-export const getCPOCandSRTEmailAddresses = async (packageId) => {
- let returnObj = {};
- const qParams = {
- TableName: process.env.oneMacTableName,
- Key: {
- pk: `${packageId}`,
- sk: "Package",
- },
- ProjectionExpression: "cpocEmail, reviewTeamEmailList",
- };
- try {
- const packageItem = await dynamoDb.get(qParams);
-
- returnObj = packageItem.Item;
- } catch (e) {
- console.log("query error: ", e.message);
- }
- return returnObj;
-};
+import { getCPOCandSRTEmailAddresses } from "../utils/getCpocAndSrtEmail";
/**
* RAI Response withdrawal email to CMS
diff --git a/services/app-api/email/CMSWithdrawalRaiNotice.test.js b/services/app-api/email/CMSWithdrawalRaiNotice.test.js
index 025e2529a..fde47c3eb 100644
--- a/services/app-api/email/CMSWithdrawalRaiNotice.test.js
+++ b/services/app-api/email/CMSWithdrawalRaiNotice.test.js
@@ -1,10 +1,8 @@
import dynamoDb from "../libs/dynamodb-lib";
import { ONEMAC_TYPE } from "cmscommonlib/workflow.js";
-import {
- CMSWithdrawRaiNotice,
- getCPOCandSRTEmailAddresses,
-} from "./CMSWithdrawRaiNotice";
+import { CMSWithdrawRaiNotice } from "./CMSWithdrawRaiNotice";
+import { getCPOCandSRTEmailAddresses } from "../utils/getCpocAndSrtEmail";
jest.mock("../libs/dynamodb-lib");
diff --git a/services/app-api/email/stateSubsequentSubmissionReceipt.js b/services/app-api/email/stateSubsequentSubmissionReceipt.js
new file mode 100644
index 000000000..163de810f
--- /dev/null
+++ b/services/app-api/email/stateSubsequentSubmissionReceipt.js
@@ -0,0 +1,31 @@
+import { formatPackageDetails } from "./formatPackageDetails.js";
+
+/**
+ * Package submission receipt email to state user(s)
+ * @param {Object} data from the package.
+ * @returns {Object} email parameters in generic format.
+ */
+export const stateSubsequentSubmissionReceipt = (data, config) => {
+ // changing config to match the docs in this one instance
+ if (config.idLabel === "SPA ID") {
+ let typeLabel = config.typeLabel;
+ // cut the type label at sub sub and set that at the new idLabel
+ typeLabel = typeLabel
+ .substring(0, typeLabel.indexOf("Subsequent Submission"))
+ .trim();
+ config.idLabel = `${typeLabel} Package ID`;
+ }
+
+ return {
+ ToAddresses: [`${data.submitterName} <${data.submitterEmail}>`],
+ CcAddresses: [],
+ Subject: `Additional documents submitted for ${config.typeLabel} ${data.componentId}`,
+ HTML: `
+
You’ve successfully submitted the following to CMS reviewers for ${
+ config.typeLabel
+ } ${data.componentId}:
+ ${formatPackageDetails(data, config)}
+
If you have questions or did not expect this email, please contact SPA@CMS.HHS.gov.
+ Provide revised or additional documentation for your submission. Once you
+ submit this form, a confirmation email is sent to you and to CMS. CMS will
+ use this content to review your package, and you will not be able to edit
+ this form. If CMS needs any additional information, they will follow up by
+ email.
+ If you leave this page, you will lose your progress on this form.
+
+ {/* for sub subs' reasons MUST be submitted but just in case I added this switch */}
{additionalInfo || (
- No Additional Information has been submitted.
+
+ No {isSubSub ? "Reason" : "Additional Information"} has been
+ submitted.
+
)}
diff --git a/services/ui-src/src/page/section/DetailSection.tsx b/services/ui-src/src/page/section/DetailSection.tsx
index 379d3705c..bce3d2b03 100644
--- a/services/ui-src/src/page/section/DetailSection.tsx
+++ b/services/ui-src/src/page/section/DetailSection.tsx
@@ -157,6 +157,7 @@ export const DetailSection = ({
);
const actions = detail.actions;
+ const subSubType = "Subsequent Documentation Uploaded";
return (
<>
@@ -266,6 +267,7 @@ export const DetailSection = ({
>
)}
diff --git a/services/ui-src/src/page/temporary-extension/TemporaryExtensionDetail.tsx b/services/ui-src/src/page/temporary-extension/TemporaryExtensionDetail.tsx
index 84276d292..57259a858 100644
--- a/services/ui-src/src/page/temporary-extension/TemporaryExtensionDetail.tsx
+++ b/services/ui-src/src/page/temporary-extension/TemporaryExtensionDetail.tsx
@@ -5,6 +5,7 @@ import {
defaultDetail,
submissionDateDefault,
AttributeDetail,
+ latestActivityDefault,
} from "../../libs/detailLib";
import { waiverTemporaryExtension } from "cmscommonlib";
@@ -37,6 +38,7 @@ export const waiverTemporaryExtensionDetail: OneMACDetail = {
parentIdDetail,
temporaryExtensionTypeDetail,
submissionDateDefault,
+ latestActivityDefault,
],
};
diff --git a/services/ui-src/src/page/waiver-amendment/WaiverAmendmentSubsequentSubmissionForm.test.js b/services/ui-src/src/page/waiver-amendment/WaiverAmendmentSubsequentSubmissionForm.test.js
new file mode 100644
index 000000000..7288a46a3
--- /dev/null
+++ b/services/ui-src/src/page/waiver-amendment/WaiverAmendmentSubsequentSubmissionForm.test.js
@@ -0,0 +1,89 @@
+import React from "react";
+import { render, screen, waitFor } from "@testing-library/react";
+import userEvent from "@testing-library/user-event";
+import { createMemoryHistory } from "history";
+import { Router } from "react-router-dom";
+import { stateSubmitterInitialAuthState } from "../../libs/testDataAppContext";
+
+import { ONEMAC_ROUTES, waiverAuthorityB4 } from "cmscommonlib";
+import { AppContext } from "../../libs/contextLib";
+import WaiverAmendmentSubsequentSubmissionForm, {
+ waiverAmendmentB4SubsequentSubmissionFormInfo,
+} from "./WaiverAmendmentSubsequentSubmissionForm";
+import { waiverAuthorityB } from "cmscommonlib";
+import OneMACForm from "../OneMACForm";
+
+jest.mock("../../utils/PackageApi");
+
+window.HTMLElement.prototype.scrollIntoView = jest.fn();
+window.scrollTo = jest.fn();
+
+describe("1915(b) Waiver Amendment Subsequent Submission Form", () => {
+ let history;
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it("has the submit button disabled on initial load", async () => {
+ history = createMemoryHistory();
+ history.push(ONEMAC_ROUTES.WAIVER_AMENDMENT_SUBSEQUENT_SUBMSISSION, {
+ parentId: "MD",
+ parentType: "waiveramendment",
+ componentId: "MD",
+ formSource: "detail",
+ waiverAuthority: waiverAuthorityB.value,
+ });
+
+ const handleSubmit = jest.fn();
+
+ render(
+
+
+
+
+
+ );
+
+ const submitButtonEl = screen.getByText("Submit");
+
+ userEvent.click(submitButtonEl);
+ expect(handleSubmit).not.toBeCalled();
+ });
+
+ it("loads proper config based on waiver authority", async () => {
+ history = createMemoryHistory();
+ history.push(ONEMAC_ROUTES.WAIVER_AMENDMENT_SUBSEQUENT_SUBMSISSION, {
+ parentId: "MD",
+ parentType: "waiveramendment",
+ componentId: "MD",
+ formSource: "detail",
+ waiverAuthority: waiverAuthorityB4.value,
+ });
+ const handleSubmit = jest.fn();
+ // jest.doMock("../OneMACForm", () => {
+ // return jest.fn(() => null);
+ // });
+
+ render(
+
+
+
+
+
+ );
+
+ // expect(OneMACForm).toHaveBeenCalledWith(
+ // { formConfig: waiverAmendmentB4SubsequentSubmissionFormInfo }, // Check if OneMACForm was called with the expected formConfig prop
+ // expect.anything() // Ignore other props and React internals
+ // );
+ });
+});
diff --git a/services/ui-src/src/page/waiver-amendment/WaiverAmendmentSubsequentSubmissionForm.tsx b/services/ui-src/src/page/waiver-amendment/WaiverAmendmentSubsequentSubmissionForm.tsx
new file mode 100644
index 000000000..15c3a96fd
--- /dev/null
+++ b/services/ui-src/src/page/waiver-amendment/WaiverAmendmentSubsequentSubmissionForm.tsx
@@ -0,0 +1,62 @@
+import React, { FC } from "react";
+import OneMACForm from "../OneMACForm";
+import {
+ defaultConfirmSubsequentSubmission,
+ defaultSubsequentAttachmentInstructionsJSX,
+ defaultSubsequentSubmissionFormConfig,
+ defaultSubsequentSubmissionIntroJSX,
+ OneMACFormConfig,
+} from "../../libs/formLib";
+import {
+ ONEMAC_ROUTES,
+ ROUTES,
+ waiverAmendmentSubsequentSubmission,
+ waiverAmendmentB4SubsequentSubmission,
+ waiverAmendmentBSubsequentSubmission,
+ waiverAuthorityB,
+ waiverAuthorityB4,
+} from "cmscommonlib";
+import { FormLocationState } from "../../domain-types";
+import { useLocation } from "react-router-dom";
+
+export const waiverAmendmentSubsequentSubmissionFormInfo: OneMACFormConfig = {
+ ...defaultSubsequentSubmissionFormConfig,
+ ...waiverAmendmentSubsequentSubmission,
+ pageTitle: "Upload Subsequent Waiver Amendment Documentation",
+ detailsHeader: "Waiver Amendment Subsequent Submission",
+ landingPage: ONEMAC_ROUTES.PACKAGE_LIST_WAIVER,
+ confirmSubmit: defaultConfirmSubsequentSubmission,
+ validateParentAPI: "validateParentOfWaiverAmendment",
+ introJSX: defaultSubsequentSubmissionIntroJSX,
+ attachmentIntroJSX: defaultSubsequentAttachmentInstructionsJSX(
+ ROUTES.FAQ_ATTACHMENTS_WAIVER_B
+ ),
+ attachmentsTitle: "Subsequent Waiver Amendment Documents",
+ addlInfoRequired: true,
+ atLeastOneAttachmentRequired: true,
+};
+
+export const waiverAmendmentB4SubsequentSubmissionFormInfo = {
+ ...waiverAmendmentSubsequentSubmissionFormInfo,
+ ...waiverAmendmentB4SubsequentSubmission,
+};
+
+export const waiverAmendmentBSubsequentSubmissionFormInfo = {
+ ...waiverAmendmentSubsequentSubmissionFormInfo,
+ ...waiverAmendmentBSubsequentSubmission,
+};
+
+const WaiverAmendmentSubsequentSubmissionForm: FC = () => {
+ let formConfig = waiverAmendmentSubsequentSubmissionFormInfo;
+ const location = useLocation();
+
+ if (location.state?.waiverAuthority === waiverAuthorityB.value) {
+ formConfig = waiverAmendmentBSubsequentSubmissionFormInfo;
+ } else if (location.state?.waiverAuthority === waiverAuthorityB4.value) {
+ formConfig = waiverAmendmentB4SubsequentSubmissionFormInfo;
+ }
+
+ return ;
+};
+
+export default WaiverAmendmentSubsequentSubmissionForm;
diff --git a/services/ui-src/src/page/waiver-appendix-k/WaiverAppKSubsequentSubmissionForm.test.js b/services/ui-src/src/page/waiver-appendix-k/WaiverAppKSubsequentSubmissionForm.test.js
new file mode 100644
index 000000000..6248a3a8a
--- /dev/null
+++ b/services/ui-src/src/page/waiver-appendix-k/WaiverAppKSubsequentSubmissionForm.test.js
@@ -0,0 +1,53 @@
+import React from "react";
+import { render, screen, waitFor } from "@testing-library/react";
+import userEvent from "@testing-library/user-event";
+import { createMemoryHistory } from "history";
+import { Router } from "react-router-dom";
+import { stateSubmitterInitialAuthState } from "../../libs/testDataAppContext";
+
+import { ONEMAC_ROUTES, waiverAuthorityB4 } from "cmscommonlib";
+import { AppContext } from "../../libs/contextLib";
+import WaiverAppKSubsequentSubmissionForm from "./WaiverAppKSubsequentSubmissionForm";
+import { waiverAuthorityB } from "cmscommonlib";
+
+jest.mock("../../utils/PackageApi");
+
+window.HTMLElement.prototype.scrollIntoView = jest.fn();
+window.scrollTo = jest.fn();
+
+describe("1915(c) Waiver Appendix K Subsequent Submission Form", () => {
+ let history;
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it("has the submit button disabled on initial load", async () => {
+ history = createMemoryHistory();
+ history.push(ONEMAC_ROUTES.WAIVER_APP_K_SUBSEQUENT_SUBMSISSION, {
+ parentId: "MD",
+ parentType: "waiverappk",
+ componentId: "MD",
+ formSource: "detail",
+ });
+
+ const handleSubmit = jest.fn();
+
+ render(
+
+
+
+
+
+ );
+
+ const submitButtonEl = screen.getByText("Submit");
+
+ userEvent.click(submitButtonEl);
+ expect(handleSubmit).not.toBeCalled();
+ });
+});
diff --git a/services/ui-src/src/page/waiver-appendix-k/WaiverAppKSubsequentSubmissionForm.tsx b/services/ui-src/src/page/waiver-appendix-k/WaiverAppKSubsequentSubmissionForm.tsx
new file mode 100644
index 000000000..a835f957b
--- /dev/null
+++ b/services/ui-src/src/page/waiver-appendix-k/WaiverAppKSubsequentSubmissionForm.tsx
@@ -0,0 +1,37 @@
+import React, { FC } from "react";
+import OneMACForm from "../OneMACForm";
+import {
+ defaultConfirmSubsequentSubmission,
+ defaultSubsequentAttachmentInstructionsJSX,
+ defaultSubsequentSubmissionFormConfig,
+ defaultSubsequentSubmissionIntroJSX,
+ OneMACFormConfig,
+} from "../../libs/formLib";
+import {
+ ONEMAC_ROUTES,
+ ROUTES,
+ waiverAppKSubsequentSubmission,
+} from "cmscommonlib";
+
+export const waiverAppKSubsequentSubmissionFormInfo: OneMACFormConfig = {
+ ...defaultSubsequentSubmissionFormConfig,
+ ...waiverAppKSubsequentSubmission,
+ pageTitle: "Upload Subsequent 1915(c) Appendix K Documentation",
+ detailsHeader: "1915(c) Appendix K Subsequent Submission",
+ landingPage: ONEMAC_ROUTES.PACKAGE_LIST_WAIVER,
+ confirmSubmit: defaultConfirmSubsequentSubmission,
+ validateParentAPI: "validateParentOfAny",
+ introJSX: defaultSubsequentSubmissionIntroJSX,
+ attachmentIntroJSX: defaultSubsequentAttachmentInstructionsJSX(
+ ROUTES.FAQ_ATTACHMENTS_MED_SPA_RAI
+ ),
+ attachmentsTitle: "Subsequent 1915(c) Appendix K Documents",
+ addlInfoRequired: true,
+ atLeastOneAttachmentRequired: true,
+};
+
+const WaiverAppKSubsequentSubmissionForm: FC = () => {
+ return ;
+};
+
+export default WaiverAppKSubsequentSubmissionForm;
diff --git a/services/ui-src/src/page/waiver-appendix-k/WaiverAppendixKDetail.tsx b/services/ui-src/src/page/waiver-appendix-k/WaiverAppendixKDetail.tsx
index bfefdf3aa..120e2a4cd 100644
--- a/services/ui-src/src/page/waiver-appendix-k/WaiverAppendixKDetail.tsx
+++ b/services/ui-src/src/page/waiver-appendix-k/WaiverAppendixKDetail.tsx
@@ -13,6 +13,8 @@ import {
waiverAuthorityDefault,
cpocDefault,
blankBox,
+ submissionIdDefault,
+ latestActivityDefault,
} from "../../libs/detailLib";
import { waiverAppendixK } from "cmscommonlib";
@@ -27,6 +29,8 @@ export const waiverAppendixKDetail: OneMACDetail = {
detailHeader: "Appendix K Amendment Package",
attachmentsHeading: "Attachments",
detailSection: [
+ submissionIdDefault,
+ latestActivityDefault,
appendixKWaiverAuthority,
territoryDefault,
{
diff --git a/services/ui-src/src/page/waiver-renewal/WaiverRenewalSubsequentSubmissionForm.test.js b/services/ui-src/src/page/waiver-renewal/WaiverRenewalSubsequentSubmissionForm.test.js
new file mode 100644
index 000000000..e92c9531b
--- /dev/null
+++ b/services/ui-src/src/page/waiver-renewal/WaiverRenewalSubsequentSubmissionForm.test.js
@@ -0,0 +1,85 @@
+import React from "react";
+import { render, screen, waitFor } from "@testing-library/react";
+import userEvent from "@testing-library/user-event";
+import { createMemoryHistory } from "history";
+import { Router } from "react-router-dom";
+import { stateSubmitterInitialAuthState } from "../../libs/testDataAppContext";
+
+import { ONEMAC_ROUTES, waiverAuthorityB4 } from "cmscommonlib";
+import { AppContext } from "../../libs/contextLib";
+import WaiverRenewalSubsequentSubmissionForm, {
+ waiverRenewalB4SubsequentSubmissionFormInfo,
+} from "./WaiverRenewalSubsequentSubmissionForm";
+import { waiverAuthorityB } from "cmscommonlib";
+import OneMACForm from "../OneMACForm";
+
+jest.mock("../../utils/PackageApi");
+
+window.HTMLElement.prototype.scrollIntoView = jest.fn();
+window.scrollTo = jest.fn();
+
+describe("1915(b) Waiver Renewal Subsequent Submission Form", () => {
+ let history;
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it("has the submit button disabled on initial load", async () => {
+ history = createMemoryHistory();
+ history.push(ONEMAC_ROUTES.WAIVER_RENEWAL_SUBSEQUENT_SUBMSISSION, {
+ parentId: "MD",
+ parentType: "waiverrenewal",
+ componentId: "MD",
+ formSource: "detail",
+ waiverAuthority: waiverAuthorityB.value,
+ });
+
+ const handleSubmit = jest.fn();
+
+ render(
+
+
+
+
+
+ );
+
+ const submitButtonEl = screen.getByText("Submit");
+
+ userEvent.click(submitButtonEl);
+ expect(handleSubmit).not.toBeCalled();
+ });
+
+ it("loads proper config based on waiver authority", async () => {
+ history = createMemoryHistory();
+ history.push(ONEMAC_ROUTES.WAIVER_RENEWAL_SUBSEQUENT_SUBMSISSION, {
+ parentId: "MD",
+ parentType: "waiverrenewal",
+ componentId: "MD",
+ formSource: "detail",
+ waiverAuthority: waiverAuthorityB4.value,
+ });
+
+ render(
+
+
+
+
+
+ );
+
+ // expect(OneMACForm).toHaveBeenCalledWith(
+ // { formConfig: waiverRenewalB4SubsequentSubmissionFormInfo }, // Check if OneMACForm was called with the expected formConfig prop
+ // expect.anything() // Ignore other props and React internals
+ // );
+ });
+});
diff --git a/services/ui-src/src/page/waiver-renewal/WaiverRenewalSubsequentSubmissionForm.tsx b/services/ui-src/src/page/waiver-renewal/WaiverRenewalSubsequentSubmissionForm.tsx
new file mode 100644
index 000000000..ba36b0ed6
--- /dev/null
+++ b/services/ui-src/src/page/waiver-renewal/WaiverRenewalSubsequentSubmissionForm.tsx
@@ -0,0 +1,62 @@
+import React, { FC } from "react";
+import OneMACForm from "../OneMACForm";
+import {
+ defaultConfirmSubsequentSubmission,
+ defaultSubsequentAttachmentInstructionsJSX,
+ defaultSubsequentSubmissionFormConfig,
+ defaultSubsequentSubmissionIntroJSX,
+ OneMACFormConfig,
+} from "../../libs/formLib";
+import {
+ ONEMAC_ROUTES,
+ ROUTES,
+ waiverRenewalSubsequentSubmission,
+ waiverRenewalB4SubsequentSubmission,
+ waiverRenewalBSubsequentSubmission,
+ waiverAuthorityB,
+ waiverAuthorityB4,
+} from "cmscommonlib";
+import { FormLocationState } from "../../domain-types";
+import { useLocation } from "react-router-dom";
+
+export const waiverRenewalSubsequentSubmissionFormInfo: OneMACFormConfig = {
+ ...defaultSubsequentSubmissionFormConfig,
+ ...waiverRenewalSubsequentSubmission,
+ pageTitle: "Upload Subsequent Waiver Renewal Documentation",
+ detailsHeader: "Waiver Renewal Subsequent Submission",
+ landingPage: ONEMAC_ROUTES.PACKAGE_LIST_WAIVER,
+ confirmSubmit: defaultConfirmSubsequentSubmission,
+ validateParentAPI: "validateParentOfWaiverRenewal",
+ introJSX: defaultSubsequentSubmissionIntroJSX,
+ attachmentIntroJSX: defaultSubsequentAttachmentInstructionsJSX(
+ ROUTES.FAQ_ATTACHMENTS_WAIVER_B
+ ),
+ attachmentsTitle: "Subsequent Waiver Renewal Documents",
+ addlInfoRequired: true,
+ atLeastOneAttachmentRequired: true,
+};
+
+export const waiverRenewalB4SubsequentSubmissionFormInfo = {
+ ...waiverRenewalSubsequentSubmissionFormInfo,
+ ...waiverRenewalB4SubsequentSubmission,
+};
+
+export const waiverRenewalBSubsequentSubmissionFormInfo = {
+ ...waiverRenewalSubsequentSubmissionFormInfo,
+ ...waiverRenewalBSubsequentSubmission,
+};
+
+const WaiverRenewalSubsequentSubmissionForm: FC = () => {
+ let formConfig = waiverRenewalSubsequentSubmissionFormInfo;
+ const location = useLocation();
+
+ if (location.state?.waiverAuthority === waiverAuthorityB.value) {
+ formConfig = waiverRenewalBSubsequentSubmissionFormInfo;
+ } else if (location.state?.waiverAuthority === waiverAuthorityB4.value) {
+ formConfig = waiverRenewalB4SubsequentSubmissionFormInfo;
+ }
+
+ return ;
+};
+
+export default WaiverRenewalSubsequentSubmissionForm;
diff --git a/services/ui-src/src/utils/PackageApi.js b/services/ui-src/src/utils/PackageApi.js
index ac9c0c8bf..113ddaac7 100644
--- a/services/ui-src/src/utils/PackageApi.js
+++ b/services/ui-src/src/utils/PackageApi.js
@@ -6,9 +6,13 @@ const SUBMIT_API_CALL = {
[Workflow.ONEMAC_TYPE.CHIP_SPA]: "submitCHIPSPA",
[Workflow.ONEMAC_TYPE.CHIP_SPA_RAI]: "submitCHIPSPARAIResponse",
[Workflow.ONEMAC_TYPE.CHIP_SPA_WITHDRAW]: "withdrawCHIPSPA",
+ [Workflow.ONEMAC_TYPE.CHIP_SPA_SUBSEQUENT_SUBMISSION]:
+ "submitChipSPASubsequent",
[Workflow.ONEMAC_TYPE.MEDICAID_SPA]: "submitMedicaidSPA",
[Workflow.ONEMAC_TYPE.MEDICAID_SPA_RAI]: "submitMedicaidSPARAIResponse",
[Workflow.ONEMAC_TYPE.MEDICAID_SPA_WITHDRAW]: "withdrawMedicaidSPA",
+ [Workflow.ONEMAC_TYPE.MEDICAID_SPA_SUBSEQUENT_SUBMISSION]:
+ "submitMedicaidSPASubsequent",
[Workflow.ONEMAC_TYPE.WAIVER_INITIAL]: "submitInitialWaiver",
[Workflow.ONEMAC_TYPE.WAIVER_INITIAL_WITHDRAW]: "withdrawInitialWaiver",
[Workflow.ONEMAC_TYPE.WAIVER_RENEWAL]: "submitWaiverRenewal",
@@ -23,6 +27,14 @@ const SUBMIT_API_CALL = {
[Workflow.ONEMAC_TYPE.ENABLE_RAI_WITHDRAW]: "enableRaiWithdraw",
[Workflow.ONEMAC_TYPE.DISABLE_RAI_WITHDRAW]: "disableRaiWithdraw",
[Workflow.ONEMAC_TYPE.RAI_RESPONSE_WITHDRAW]: "withdrawRAIResponse",
+ [Workflow.ONEMAC_TYPE.WAIVER_INITIAL_SUBSEQUENT_SUBMISSION]:
+ "submitInitialWaiverSubsequent",
+ [Workflow.ONEMAC_TYPE.WAIVER_RENEWAL_SUBSEQUENT_SUBMISSION]:
+ "submitWaiverRenewalSubsequent",
+ [Workflow.ONEMAC_TYPE.WAIVER_AMENDMENT_SUBSEQUENT_SUBMISSION]:
+ "submitWaiverAmendmentSubsequent",
+ [Workflow.ONEMAC_TYPE.WAIVER_APP_K_SUBSEQUENT_SUBMISSION]:
+ "submitWaiverAppKSubsequent",
};
/**
diff --git a/tests/cypress/cypress/e2e/Appendix_K_Form.spec.feature b/tests/cypress/cypress/e2e/Appendix_K_Form.spec.feature
index 380b0f8b1..949c1cb36 100644
--- a/tests/cypress/cypress/e2e/Appendix_K_Form.spec.feature
+++ b/tests/cypress/cypress/e2e/Appendix_K_Form.spec.feature
@@ -50,6 +50,8 @@ Feature: Appendix K Waiver Type Selection
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the waiver authority header exists
Then verify there is a State header in the details section
Then verify a state exists for the State
diff --git a/tests/cypress/cypress/e2e/Dashboard_AppK_RAI_Response.spec.feature b/tests/cypress/cypress/e2e/Dashboard_AppK_RAI_Response.spec.feature
index 566b7f3dd..4430d880b 100644
--- a/tests/cypress/cypress/e2e/Dashboard_AppK_RAI_Response.spec.feature
+++ b/tests/cypress/cypress/e2e/Dashboard_AppK_RAI_Response.spec.feature
@@ -22,7 +22,7 @@ Feature: RAI Response for Appendix K Amendment - Package View
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to start the 90 day clock review process"
Then click modal cancel button
Then verify the modal pop-up is not visible
@@ -34,6 +34,6 @@ Feature: RAI Response for Appendix K Amendment - Package View
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to start the 90 day clock review process"
Then click modal cancel button
Then verify the modal pop-up is not visible
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Dashboard_CHIP_SPA_RAI_Response.spec.feature b/tests/cypress/cypress/e2e/Dashboard_CHIP_SPA_RAI_Response.spec.feature
index c00853a5a..4c91a3faf 100644
--- a/tests/cypress/cypress/e2e/Dashboard_CHIP_SPA_RAI_Response.spec.feature
+++ b/tests/cypress/cypress/e2e/Dashboard_CHIP_SPA_RAI_Response.spec.feature
@@ -26,7 +26,7 @@ Feature: RAI Response for CHIP SPA package view
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to restart the SPA review process and a new 90th day will be identified
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to restart the SPA review process and a new 90th day will be identified."
Then click modal cancel button
Then verify the modal pop-up is not visible
@@ -42,6 +42,6 @@ Feature: RAI Response for CHIP SPA package view
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to restart the SPA review process and a new 90th day will be identified
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to restart the SPA review process and a new 90th day will be identified."
Then click modal cancel button
Then verify the modal pop-up is not visible
diff --git a/tests/cypress/cypress/e2e/Dashboard_Column_Picker_SPA_CMS.spec.feature b/tests/cypress/cypress/e2e/Dashboard_Column_Picker_SPA_CMS.spec.feature
index 28b362790..cbfe8e804 100644
--- a/tests/cypress/cypress/e2e/Dashboard_Column_Picker_SPA_CMS.spec.feature
+++ b/tests/cypress/cypress/e2e/Dashboard_Column_Picker_SPA_CMS.spec.feature
@@ -11,6 +11,7 @@ Feature: Package Dashboard - SPA Tab Column Picker for CMS User
Then Verify State Column Exists
Then verify status column exists
Then verify Initial Submission Date column exists
+ Then verify Latest Package Activity column exists
Then verify Formal RAI Received column exists
Then verify submitted by column does not exist
Then verify CPOC Name column does not exist
@@ -30,6 +31,7 @@ Feature: Package Dashboard - SPA Tab Column Picker for CMS User
Then click show hide columns button
Then click Formal RAI Received checkbox
Then click Initial Submission Date checkbox
+ Then click Latest Package Activity checkbox
Then click state checkbox
Then click status checkbox
Then click type checkbox
@@ -41,6 +43,7 @@ Feature: Package Dashboard - SPA Tab Column Picker for CMS User
Then verify state column does not exist
Then verify status column does not exist
Then verify Initial Submission Date column does not exist
+ Then verify Latest Package Activity column does not exist
Then verify submitted by column does not exist
Then verify CPOC Name column exists
Then verify Final Disposition column exists
diff --git a/tests/cypress/cypress/e2e/Dashboard_Filter_options_that_include_Dates_CMS.spec.feature b/tests/cypress/cypress/e2e/Dashboard_Filter_options_that_include_Dates_CMS.spec.feature
index eb5315cc3..0483d49f6 100644
--- a/tests/cypress/cypress/e2e/Dashboard_Filter_options_that_include_Dates_CMS.spec.feature
+++ b/tests/cypress/cypress/e2e/Dashboard_Filter_options_that_include_Dates_CMS.spec.feature
@@ -32,6 +32,16 @@ Feature: Package Dashboard - Filter by Formal RAI Received
Then Click on My Account
Then click the logout button
+ Scenario: Filter by Latest Package Activity - Date picker
+ Then Click on Filter Button
+ Then click on Latest Package Activity dropdown filter
+ Then click on Latest Package Activity date picker filter
+ Then click on quarter to date date picker button
+ Then Click on Filter Button
+ Then verify Latest Package Activity column one date is this quarter
+ Then Click on My Account
+ Then click the logout button
+
Scenario: Change Initial Submission Date filter. Verify no results. Then reset filter
Then click on the Waivers tab
Then Click on Filter Button
@@ -56,4 +66,17 @@ Feature: Package Dashboard - Filter by Formal RAI Received
Then Click on Filter Button
Then verify package row one exists
Then Click on My Account
+ Then click the logout button
+
+ Scenario: Change Latest Package Activity date filter. Verify results. Then reset filter
+ Then click on the Waivers tab
+ Then Click on Filter Button
+ Then click on Latest Package Activity dropdown filter
+ Then click on Latest Package Activity date picker filter
+ Then click on quarter to date date picker button
+ Then click on Latest Package Activity filter dropdown
+ Then click on reset button
+ Then Click on Filter Button
+ Then verify package row one exists
+ Then Click on My Account
Then click the logout button
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Dashboard_Medicaid_SPA_RAI_Response.spec.feature b/tests/cypress/cypress/e2e/Dashboard_Medicaid_SPA_RAI_Response.spec.feature
index c998f0fd7..5cda72053 100644
--- a/tests/cypress/cypress/e2e/Dashboard_Medicaid_SPA_RAI_Response.spec.feature
+++ b/tests/cypress/cypress/e2e/Dashboard_Medicaid_SPA_RAI_Response.spec.feature
@@ -25,7 +25,7 @@ Feature: RAI Response for Medicaid SPA package view
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to start the 90 day clock review process"
Scenario: validate response to RAI from package dashboard
Then copy the ID from the link in the first row
@@ -38,4 +38,4 @@ Feature: RAI Response for Medicaid SPA package view
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to start the 90 day clock review process"
diff --git a/tests/cypress/cypress/e2e/Dashboard_Waiver_Amendment_RAI_Response.spec.feature b/tests/cypress/cypress/e2e/Dashboard_Waiver_Amendment_RAI_Response.spec.feature
index fe951be89..fd2ec61ec 100644
--- a/tests/cypress/cypress/e2e/Dashboard_Waiver_Amendment_RAI_Response.spec.feature
+++ b/tests/cypress/cypress/e2e/Dashboard_Waiver_Amendment_RAI_Response.spec.feature
@@ -24,7 +24,7 @@ Feature: RAI Response for 1915B Waiver Amendment - Package View
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to start the 90 day clock review process"
Then click modal cancel button
Then verify the modal pop-up is not visible
@@ -36,6 +36,6 @@ Feature: RAI Response for 1915B Waiver Amendment - Package View
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to start the 90 day clock review process"
Then click modal cancel button
Then verify the modal pop-up is not visible
diff --git a/tests/cypress/cypress/e2e/Dashboard_Waiver_Renewal_RAI_Response.spec.feature b/tests/cypress/cypress/e2e/Dashboard_Waiver_Renewal_RAI_Response.spec.feature
index 86ef241dd..e69fbe23b 100644
--- a/tests/cypress/cypress/e2e/Dashboard_Waiver_Renewal_RAI_Response.spec.feature
+++ b/tests/cypress/cypress/e2e/Dashboard_Waiver_Renewal_RAI_Response.spec.feature
@@ -26,7 +26,7 @@ Feature: RAI Response for Renewal Waiver - Package View
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to start the 90 day clock review process"
Then click modal cancel button
Then verify the modal pop-up is not visible
@@ -38,6 +38,6 @@ Feature: RAI Response for Renewal Waiver - Package View
Then Click the Submit Button without waiting
Then verify the modal pop-up is visible
Then verify the title of the modal pop-up is Do you want to submit your official formal RAI response
- Then verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process
+ Then verify the detailed text in the modal contains "you are submitting your official formal RAI Response to start the 90 day clock review process"
Then click modal cancel button
Then verify the modal pop-up is not visible
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Package_Details_Appendix_K_CMS_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Appendix_K_CMS_User.spec.feature
index 8c9d9e4ac..7e696e2da 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Appendix_K_CMS_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Appendix_K_CMS_User.spec.feature
@@ -20,6 +20,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User
Then verify the status on the card is "Submitted - Intake Needed"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -50,6 +52,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User
Then verify 2 action cards exist
Then verify the status on the card is "Pending"
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -85,6 +89,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User
Then verify the status on the card is "Pending - RAI"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -119,6 +125,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User
Then verify the status on the card is "Approved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -153,6 +161,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User
Then verify the status on the card is "Disapproved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -186,6 +196,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User
Then verify the status on the card is "Package Withdrawn"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -217,8 +229,9 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Concurrence"
- Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -250,8 +263,9 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Approval"
- Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
diff --git a/tests/cypress/cypress/e2e/Package_Details_Appendix_K_State_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Appendix_K_State_User.spec.feature
index 58768fed6..5dd605a15 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Appendix_K_State_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Appendix_K_State_User.spec.feature
@@ -21,6 +21,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -52,6 +54,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User
Then verify package actions header is visible
Then verify withdraw package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -84,6 +88,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User
Then verify withdraw package action exists
Then verify Respond to RAI action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -115,6 +121,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -147,6 +155,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -179,6 +189,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -207,6 +219,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
@@ -241,6 +255,8 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User
Then verify withdraw package action exists
Then verify Withdraw Formal RAI Response package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Appendix K Amendment Package"
Then verify the waiver authority header exists
Then verify the waiver authority is 1915c HCBS
diff --git a/tests/cypress/cypress/e2e/Package_Details_CHIP_SPA_CMS_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_CHIP_SPA_CMS_User.spec.feature
index 86864753c..904c5a770 100644
--- a/tests/cypress/cypress/e2e/Package_Details_CHIP_SPA_CMS_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_CHIP_SPA_CMS_User.spec.feature
@@ -20,6 +20,8 @@ Feature: CHIP SPA CMS Details View - Card View with Actions
Then verify the status on the card is "Submitted - Intake Needed"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
@@ -49,6 +51,8 @@ Feature: CHIP SPA CMS Details View - Card View with Actions
Then verify the status on the card is "Pending"
#Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
@@ -80,6 +84,8 @@ Feature: CHIP SPA CMS Details View - Card View with Actions
Then verify the status on the card is "Withdrawn"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
@@ -111,6 +117,8 @@ Feature: CHIP SPA CMS Details View - Card View with Actions
Then verify the status on the card is "Disapproved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "CHIP SPA Package"
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
@@ -144,6 +152,8 @@ Feature: CHIP SPA CMS Details View - Card View with Actions
Then verify there are no package actions available
Then verify the package details page is visible
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
@@ -174,6 +184,8 @@ Feature: CHIP SPA CMS Details View - Card View with Actions
Then verify there is not a 90th day date on the card
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
@@ -204,9 +216,10 @@ Feature: CHIP SPA CMS Details View - Card View with Actions
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Concurrence"
- Then verify there are no package actions available
Then verify the package details page is visible
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
@@ -236,9 +249,10 @@ Feature: CHIP SPA CMS Details View - Card View with Actions
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Approval"
- Then verify there are no package actions available
Then verify the package details page is visible
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
diff --git a/tests/cypress/cypress/e2e/Package_Details_Initial_Waiver_CMS_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Initial_Waiver_CMS_User.spec.feature
index 4933aa9be..63be8678e 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Initial_Waiver_CMS_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Initial_Waiver_CMS_User.spec.feature
@@ -20,6 +20,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the status on the card is "Submitted - Intake Needed"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -48,6 +50,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify 2 action cards exist
Then verify the status on the card is "Pending"
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -80,6 +84,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the status on the card is "Terminated"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -111,6 +117,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the status on the card is "Pending - RAI"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -142,6 +150,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the status on the card is "Approved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -173,6 +183,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the status on the card is "Disapproved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -204,6 +216,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the status on the card is "Package Withdrawn"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -234,8 +248,9 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Concurrence"
- Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -265,8 +280,9 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Approval"
- Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
diff --git a/tests/cypress/cypress/e2e/Package_Details_Initial_Waiver_State_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Initial_Waiver_State_User.spec.feature
index 012998761..3f69fce5e 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Initial_Waiver_State_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Initial_Waiver_State_User.spec.feature
@@ -21,6 +21,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -50,6 +52,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify package actions header is visible
Then verify withdraw package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -79,6 +83,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify the status on the card is "Waiver Terminated"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -109,6 +115,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify withdraw package action exists
Then verify Respond to RAI action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -139,6 +147,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify Add Amendment package action exists
Then verify Request a Temporary Extension package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -168,6 +178,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -198,6 +210,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -229,6 +243,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
@@ -260,6 +276,8 @@ Feature: Waiver Package Details View: Initial Waivers
Then verify withdraw package action exists
Then verify Withdraw Formal RAI Response package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify the package details title contains "Initial Waiver Package"
Then verify there is a Type header in the details section
Then verify the type is Initial Waiver
diff --git a/tests/cypress/cypress/e2e/Package_Details_Medicaid_SPA_CMS_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Medicaid_SPA_CMS_User.spec.feature
index 49274d5e9..2e6b3a7d1 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Medicaid_SPA_CMS_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Medicaid_SPA_CMS_User.spec.feature
@@ -20,6 +20,8 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify the status on the card is "Submitted - Intake Needed"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -49,6 +51,8 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify the status on the card is "Pending"
#Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -78,6 +82,8 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify the status on the card is "Withdrawn"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -109,6 +115,8 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify the status on the card is "Disapproved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -131,7 +139,6 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify the Initial Submission download all button exists
Then verify the additional information section exists
- # Need seed data / reset data update
Scenario: Screen Enhance - Pending - RAI Medicaid SPA
Then click Pending - RAI checkbox
Then Click on Filter Button
@@ -142,6 +149,8 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify there are no package actions available
Then verify the package details page is visible
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -172,6 +181,8 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify there is not a 90th day date on the card
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -202,9 +213,10 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Concurrence"
- Then verify there are no package actions available
Then verify the package details page is visible
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
@@ -234,9 +246,10 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Approval"
- Then verify there are no package actions available
Then verify the package details page is visible
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
diff --git a/tests/cypress/cypress/e2e/Package_Details_Medicaid_SPA_State_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Medicaid_SPA_State_User.spec.feature
index c8079587f..99ebe4497 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Medicaid_SPA_State_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Medicaid_SPA_State_User.spec.feature
@@ -22,6 +22,8 @@ Feature: Medicaid SPA State Details View - Card View with Actions
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -52,6 +54,8 @@ Feature: Medicaid SPA State Details View - Card View with Actions
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -81,6 +85,8 @@ Feature: Medicaid SPA State Details View - Card View with Actions
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -111,6 +117,8 @@ Feature: Medicaid SPA State Details View - Card View with Actions
Then verify package actions header is visible
Then verify withdraw package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -138,6 +146,8 @@ Feature: Medicaid SPA State Details View - Card View with Actions
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -168,6 +178,8 @@ Feature: Medicaid SPA State Details View - Card View with Actions
Then verify withdraw package action exists
Then verify Respond to RAI action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -195,6 +207,8 @@ Feature: Medicaid SPA State Details View - Card View with Actions
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Medicaid SPA
Then verify there is a State header in the details section
@@ -225,6 +239,8 @@ Feature: Medicaid SPA State Details View - Card View with Actions
Then verify withdraw package action exists
Then verify Withdraw Formal RAI Response package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify a type containing SPA exists for the Type
Then verify there is a State header in the details section
diff --git a/tests/cypress/cypress/e2e/Package_Details_Renewal_Waiver_CMS_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Renewal_Waiver_CMS_User.spec.feature
index f36556bd3..95f0c9d17 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Renewal_Waiver_CMS_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Renewal_Waiver_CMS_User.spec.feature
@@ -20,6 +20,8 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the status on the card is "Submitted - Intake Needed"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -48,6 +50,8 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the status on the card is "Pending"
#Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -78,6 +82,8 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the status on the card is "Terminated"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -108,6 +114,8 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the status on the card is "Pending - RAI"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -138,6 +146,8 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the status on the card is "Approved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -169,6 +179,8 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the status on the card is "Disapproved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -199,6 +211,8 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the status on the card is "Package Withdrawn"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -227,8 +241,9 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Concurrence"
- Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -257,8 +272,9 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Approval"
- Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
diff --git a/tests/cypress/cypress/e2e/Package_Details_Renewal_Waiver_State_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Renewal_Waiver_State_User.spec.feature
index 6cdf011c9..b57c4f0b1 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Renewal_Waiver_State_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Renewal_Waiver_State_User.spec.feature
@@ -21,6 +21,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -49,6 +51,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify package actions header is visible
Then verify withdraw package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -76,6 +80,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify the status on the card is "Waiver Terminated"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -105,6 +111,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify withdraw package action exists
Then verify Respond to RAI action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -134,6 +142,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify Add Amendment package action exists
Then verify Request a Temporary Extension package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -163,6 +173,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -191,6 +203,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -219,6 +233,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
@@ -249,6 +265,8 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User
Then verify withdraw package action exists
Then verify Withdraw Formal RAI Response package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is Waiver Renewal
Then verify there is a State header in the details section
diff --git a/tests/cypress/cypress/e2e/Package_Details_Temporary_Extension_CMS_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Temporary_Extension_CMS_User.spec.feature
index 7da215105..6e7bd7860 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Temporary_Extension_CMS_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Temporary_Extension_CMS_User.spec.feature
@@ -17,6 +17,10 @@ Feature: Waiver Package Details View: Temporary Extension for a CMS User
Then verify the status on the card is "Requested"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Temporary Extension
Then verify there is an Initial Submission Date header in the details section
@@ -37,6 +41,10 @@ Feature: Waiver Package Details View: Temporary Extension for a CMS User
Then verify the status on the card is "Requested"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915c Temporary Extension
Then verify there is an Initial Submission Date header in the details section
diff --git a/tests/cypress/cypress/e2e/Package_Details_Temporary_Extension_State_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Temporary_Extension_State_User.spec.feature
index f51069828..9022f0ea2 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Temporary_Extension_State_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Temporary_Extension_State_User.spec.feature
@@ -21,6 +21,8 @@ Feature: Waiver Package Details View: Temporary Extension for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Temporary Extension
Then verify there is an Initial Submission Date header in the details section
@@ -45,6 +47,8 @@ Feature: Waiver Package Details View: Temporary Extension for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915c Temporary Extension
Then verify there is an Initial Submission Date header in the details section
diff --git a/tests/cypress/cypress/e2e/Package_Details_Waiver_Amendment_CMS_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Waiver_Amendment_CMS_User.spec.feature
index ab7f5e78a..260cd3703 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Waiver_Amendment_CMS_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Waiver_Amendment_CMS_User.spec.feature
@@ -20,6 +20,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User
Then verify the status on the card is "Submitted - Intake Needed"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -48,6 +50,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User
Then verify 2 action cards exist
Then verify the status on the card is "Pending"
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -74,6 +78,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User
Then verify the status on the card is "Pending - RAI"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -104,6 +110,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User
Then verify the status on the card is "Approved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -134,6 +142,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User
Then verify the status on the card is "Disapproved"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -165,6 +175,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User
Then verify the status on the card is "Package Withdrawn"
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -193,8 +205,9 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Concurrence"
- Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -217,15 +230,15 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User
Then verify the Initial Submission download all button exists
Then verify the additional information section exists
- # Need seed data / reset data update
Scenario: Screen Enhance: 1915 b Waiver Amendment Details View - Pending - Approval
Then click the Pending - Approval checkbox
Then click the Waiver Number link in the first row
Then verify the package details page is visible
Then verify 2 action cards exist
Then verify the status on the card is "Pending - Approval"
- Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
diff --git a/tests/cypress/cypress/e2e/Package_Details_Waiver_Amendment_State_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_Waiver_Amendment_State_User.spec.feature
index d310de589..f6c20bca2 100644
--- a/tests/cypress/cypress/e2e/Package_Details_Waiver_Amendment_State_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Package_Details_Waiver_Amendment_State_User.spec.feature
@@ -21,6 +21,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -49,6 +51,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify package actions header is visible
Then verify withdraw package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -78,6 +82,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify withdraw package action exists
Then verify Respond to RAI action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -106,6 +112,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -135,6 +143,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -163,6 +173,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -187,6 +199,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify package actions header is visible
Then verify there are no package actions available
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
@@ -217,6 +231,8 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify withdraw package action exists
Then verify Withdraw Formal RAI Response package action exists
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Waiver Amendment
Then verify there is a State header in the details section
diff --git a/tests/cypress/cypress/e2e/Profile_View_CMS_Approver.spec.feature b/tests/cypress/cypress/e2e/Profile_View_CMS_Approver.spec.feature
index c879260b1..9112e51d1 100644
--- a/tests/cypress/cypress/e2e/Profile_View_CMS_Approver.spec.feature
+++ b/tests/cypress/cypress/e2e/Profile_View_CMS_Approver.spec.feature
@@ -3,7 +3,7 @@ Feature: OY2_8618_CMS_Approver
Given I am on Login Page
When Clicking on Development Login
When Login with "an Active" "CMS Role Approver" user
- Then i am on User Management Page
+ Then I am on the User Management Page
Then Click on My Account
Then Click on Manage Profile
When I am on My Profile Page
diff --git a/tests/cypress/cypress/e2e/Profile_View_CMS_System_Admin.spec.feature b/tests/cypress/cypress/e2e/Profile_View_CMS_System_Admin.spec.feature
index d242bf5c3..cabd256c7 100644
--- a/tests/cypress/cypress/e2e/Profile_View_CMS_System_Admin.spec.feature
+++ b/tests/cypress/cypress/e2e/Profile_View_CMS_System_Admin.spec.feature
@@ -4,7 +4,7 @@ Feature: OY2_8618_CMS_System_Admin
When Clicking on Development Login
When Login with "an Active" "CMS System Admin" user
Then Click on User Management Tab
- Then i am on User Management Page
+ Then I am on the User Management Page
Then Click on My Account
Then Click on Manage Profile
When I am on My Profile Page
diff --git a/tests/cypress/cypress/e2e/Profile_View_Helpdesk_User.spec.feature b/tests/cypress/cypress/e2e/Profile_View_Helpdesk_User.spec.feature
index d600b97e3..75593ebee 100644
--- a/tests/cypress/cypress/e2e/Profile_View_Helpdesk_User.spec.feature
+++ b/tests/cypress/cypress/e2e/Profile_View_Helpdesk_User.spec.feature
@@ -12,7 +12,7 @@ Feature: Helpdesk User
Then verify state column does not exist
Then verify submitted by column exists
Then Click on User Management Tab
- Then i am on User Management Page
+ Then I am on the User Management Page
Then verify User Management is Displayed
Then verify Export to Excel CSV is Displayed
Then verify Name is Displayed
diff --git a/tests/cypress/cypress/e2e/Profile_View_State_System_Admin.spec.feature b/tests/cypress/cypress/e2e/Profile_View_State_System_Admin.spec.feature
index e9b79de59..b1d898ea2 100644
--- a/tests/cypress/cypress/e2e/Profile_View_State_System_Admin.spec.feature
+++ b/tests/cypress/cypress/e2e/Profile_View_State_System_Admin.spec.feature
@@ -4,7 +4,7 @@ Feature: OY2_9990_State_System_Admin_Profile_Screen_Enhancements
When Clicking on Development Login
When Login with "an Active" "CMS System Admin" user
Then Click on User Management Tab
- Then i am on User Management Page
+ Then I am on the User Management Page
Then verify User Management is Displayed
Then verify Export to Excel CSV is Displayed
Then verify Name is Displayed
diff --git a/tests/cypress/cypress/e2e/Request_A_Role_Change.spec.feature b/tests/cypress/cypress/e2e/Request_A_Role_Change.spec.feature
index d94bc0c3a..00459df72 100644
--- a/tests/cypress/cypress/e2e/Request_A_Role_Change.spec.feature
+++ b/tests/cypress/cypress/e2e/Request_A_Role_Change.spec.feature
@@ -46,7 +46,7 @@ Feature: OY2-12679 Users can request a role change in OneMAC
Given I am on Login Page
When Clicking on Development Login
When Login with "an Active" "CMS Role Approver" user
- Then i am on User Management Page
+ Then I am on the User Management Page
Then Click on My Account
Then verify that Request a Role Change button exists
Then click on Request a Role Change button
diff --git a/tests/cypress/cypress/e2e/Subsequent_Submission_1915b_Amendment_Waiver.spec.feature b/tests/cypress/cypress/e2e/Subsequent_Submission_1915b_Amendment_Waiver.spec.feature
new file mode 100644
index 000000000..e4d8c5e9c
--- /dev/null
+++ b/tests/cypress/cypress/e2e/Subsequent_Submission_1915b_Amendment_Waiver.spec.feature
@@ -0,0 +1,93 @@
+Feature: Subsequent Submission 1915b Waiver Amendment
+ Background: Reoccuring Steps
+ Given I am on Login Page
+ When Clicking on Development Login
+ When Login with "an Active" "State Submitter" user
+ Then click on the Waivers tab
+ Then Click on Filter Button
+ Then click on Type
+ Then uncheck all of the type checkboxes
+ Then click 1915b Waiver Amendment check box
+ Then click on Type
+ Then click on Status
+ Then uncheck all of the status checkboxes
+ Then click Under Review checkbox
+ Then Click on Filter Button
+
+ Scenario: Screen Enhance - Subsequent Document from the details page
+ Then click the Waiver Number link in the first row
+ Then verify the package details page is visible
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Amendment Documentation"
+ Then verify the form title is "Waiver Amendment Subsequent Submission Details"
+ Then verify "1915(b) Waiver Amendment Number" is prefilled
+ Then verify Type is "1915(b) Waiver Amendment"
+ #Then verify the Subsequent "Waiver Amendment" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then verify the package details page is visible
+
+ Scenario: Screen Enhance - Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Amendment Documentation"
+ Then verify the form title is "Waiver Amendment Subsequent Submission Details"
+ Then verify "1915(b) Waiver Amendment Number" is prefilled
+ Then verify Type is "1915(b) Waiver Amendment"
+ #Then verify the Subsequent "Waiver Amendment" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then i am on Dashboard Page
+
+ Scenario: Upload Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Amendment Documentation"
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then i am on Dashboard Page
+ Then verify the success message is "Attachments have been successfully submitted."
+
+ Scenario: Upload Subsequent Documents from the details page
+ Then click the Waiver Number link in the first row
+ Then verify the package details page is visible
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Amendment Documentation"
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then verify the package details page is visible
+ Then verify the success message is "Attachments have been successfully submitted"
+ Then verify the Subsequent Documentation Uploaded caret button exists
+ Then verify the Subsequent Documentation download all button exists
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Subsequent_Submission_1915c_Appendix_K.spec.feature b/tests/cypress/cypress/e2e/Subsequent_Submission_1915c_Appendix_K.spec.feature
new file mode 100644
index 000000000..c9bb692c7
--- /dev/null
+++ b/tests/cypress/cypress/e2e/Subsequent_Submission_1915c_Appendix_K.spec.feature
@@ -0,0 +1,94 @@
+Feature: Subsequent Submission 1915c App K Waiver
+ Background: Reoccuring Steps
+ Given I am on Login Page
+ When Clicking on Development Login
+ When Login with "an Active" "State Submitter" user
+ Then click on the Waivers tab
+ Then Click on Filter Button
+ Then click on Type
+ Then uncheck all of the type checkboxes
+ Then click 1915c Appendix K Amendment check box
+ Then click on Type
+ Then click on Status
+ Then uncheck all of the status checkboxes
+ Then click Under Review checkbox
+ Then Click on Filter Button
+
+ Scenario: Screen Enhance - Subsequent Document from the details page
+ Then click the Waiver Number link in the first row
+ Then verify the package details page is visible
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent 1915(c) Appendix K Documentation"
+ Then verify the form title is "1915(c) Appendix K Subsequent Submission Details"
+ Then verify "Waiver Amendment Number" is prefilled
+ Then verify Type is "1915(c) Appendix K Amendment"
+ Then verify the Subsequent "1915(c) Appendix K" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then verify the package details page is visible
+
+ Scenario: Screen Enhance - Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent 1915(c) Appendix K Documentation"
+ Then verify the form title is "1915(c) Appendix K Subsequent Submission Details"
+ Then verify "Waiver Amendment Number" is prefilled
+ Then verify Type is "1915(c) Appendix K Amendment"
+ Then verify the Subsequent "1915(c) Appendix K" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then i am on Dashboard Page
+
+ Scenario: Upload Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent 1915(c) Appendix K Documentation"
+ Then verify "Waiver Amendment Number" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then click the yes, submit modal button
+ Then i am on Dashboard Page
+ Then verify the success message is "Attachments have been successfully submitted."
+
+ Scenario: Upload Subsequent Documents from the details page
+ Then click the Waiver Number link in the first row
+ Then verify the package details page is visible
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent 1915(c) Appendix K Documentation"
+ Then verify "Waiver Amendment Number" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then verify the package details page is visible
+ Then verify the success message is "Attachments have been successfully submitted"
+ Then verify the Subsequent Documentation Uploaded caret button exists
+ Then verify the Subsequent Documentation download all button exists
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Subsequent_Submission_CHIP_Spa.spec.feature b/tests/cypress/cypress/e2e/Subsequent_Submission_CHIP_Spa.spec.feature
new file mode 100644
index 000000000..0ed55931e
--- /dev/null
+++ b/tests/cypress/cypress/e2e/Subsequent_Submission_CHIP_Spa.spec.feature
@@ -0,0 +1,94 @@
+Feature: CHIP SPA State Details View - Card View with Actions
+ Background: Reoccuring Steps
+ Given I am on Login Page
+ When Clicking on Development Login
+ When Login with "an Active" "State Submitter" user
+ Then Click on Filter Button
+ Then click on Type
+ Then uncheck all of the type checkboxes
+ Then click CHIP SPA check box
+ Then click on Type
+ Then click on Status
+ Then uncheck all of the status checkboxes
+ Then click Under Review checkbox
+ Then Click on Filter Button
+
+ Scenario: Screen Enhance - Subsequent Document from the details page
+ Then click the SPA ID link in the first row
+ Then verify the package details page is visible
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent CHIP SPA Documentation"
+ Then verify the form title is "CHIP SPA Subsequent Submission Details"
+ Then verify "SPA ID" is prefilled
+ Then verify Type is "CHIP SPA"
+ Then verify the Subsequent "CHIP SPA" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then verify the package details page is visible
+
+ Scenario: Screen Enhance - Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent CHIP SPA Documentation"
+ Then verify the form title is "CHIP SPA Subsequent Submission Details"
+ Then verify "SPA ID" is prefilled
+ Then verify Type is "CHIP SPA"
+ Then verify the Subsequent "CHIP SPA" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then i am on Dashboard Page
+
+ Scenario: Upload Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent CHIP SPA Documentation"
+ Then verify "SPA ID" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then i am on Dashboard Page
+ Then verify the success message is "Attachments have been successfully submitted."
+
+ Scenario: Upload Subsequent Documents from the details page
+ Then click the SPA ID link in the first row
+ Then verify the package details page is visible
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent CHIP SPA Documentation"
+ Then verify "SPA ID" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then verify the package details page is visible
+ Then verify the success message is "Attachments have been successfully submitted"
+ Then verify the Subsequent Documentation Uploaded caret button exists
+ Then verify the Subsequent Documentation download all button exists
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Subsequent_Submission_Initial_Waiver.spec.feature b/tests/cypress/cypress/e2e/Subsequent_Submission_Initial_Waiver.spec.feature
new file mode 100644
index 000000000..241ee6afc
--- /dev/null
+++ b/tests/cypress/cypress/e2e/Subsequent_Submission_Initial_Waiver.spec.feature
@@ -0,0 +1,96 @@
+Feature: Subsequent Submission 1915b Initial Waiver
+ Background: Reoccuring Steps
+ Given I am on Login Page
+ When Clicking on Development Login
+ When Login with "an Active" "State Submitter" user
+ Then click on the Waivers tab
+ Then Click on Filter Button
+ Then click on Type
+ Then uncheck all of the type checkboxes
+ Then click 1915b Initial Waiver check box
+ Then click on Type
+ Then click on Status
+ Then uncheck all of the status checkboxes
+ Then click Under Review checkbox
+ Then Click on Filter Button
+
+ Scenario: Screen Enhance - Subsequent Document from the details page
+ Then click the Waiver Number link in the first row
+ Then verify the package details page is visible
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Documentation"
+ Then verify the form title is "Initial Waiver Subsequent Submission Details"
+ Then verify "Initial Waiver Number" is prefilled
+ Then verify Type is "1915(b) Initial Waiver"
+ Then verify the Subsequent "Initial Waiver" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then verify the package details page is visible
+
+ Scenario: Screen Enhance - Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Documentation"
+ Then verify the form title is "Initial Waiver Subsequent Submission Details"
+ Then verify "Initial Waiver Number" is prefilled
+ Then verify Type is "1915(b) Initial Waiver"
+ Then verify the Subsequent "Initial Waiver" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then i am on Dashboard Page
+
+ Scenario: Upload Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Documentation"
+ Then verify "Initial Waiver Number" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then i am on Dashboard Page
+ Then verify the success message is "Attachments have been successfully submitted."
+
+
+ Scenario: Upload Subsequent Documents from the details page
+ Then click the Waiver Number link in the first row
+ Then verify the package details page is visible
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Documentation"
+ Then verify "Initial Waiver Number" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then verify the package details page is visible
+ Then verify the success message is "Attachments have been successfully submitted"
+ Then verify the Subsequent Documentation Uploaded caret button exists
+ Then verify the Subsequent Documentation download all button exists
+
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Subsequent_Submission_Medicaid_Spa.spec.feature b/tests/cypress/cypress/e2e/Subsequent_Submission_Medicaid_Spa.spec.feature
new file mode 100644
index 000000000..0645f1736
--- /dev/null
+++ b/tests/cypress/cypress/e2e/Subsequent_Submission_Medicaid_Spa.spec.feature
@@ -0,0 +1,97 @@
+Feature: Medicaid SPA State Details View - Card View with Actions
+ Background: Reoccuring Steps
+ Given I am on Login Page
+ When Clicking on Development Login
+ When Login with "an Active" "State Submitter" user
+ Then Click on Filter Button
+ Then click on Type
+ Then uncheck all of the type checkboxes
+ Then click Medicaid SPA check box
+ Then click on Type
+ Then click on Status
+ Then uncheck all of the status checkboxes
+ Then click Under Review checkbox
+ Then Click on Filter Button
+
+ Scenario: Screen Enhance - Subsequent Document from the details page
+ Then click the SPA ID link in the first row
+ Then verify the package details page is visible
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Medicaid SPA Documentation"
+ Then verify the form title is "Medicaid SPA Subsequent Submission Details"
+ Then verify "SPA ID" is prefilled
+ Then verify Type is "Medicaid SPA"
+ Then verify the Subsequent "Medicaid SPA" Documents section exists
+ Then verify the Cover Letter attachment is not listed
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then verify the package details page is visible
+
+ Scenario: Screen Enhance - Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Medicaid SPA Documentation"
+ Then verify the form title is "Medicaid SPA Subsequent Submission Details"
+ Then verify "SPA ID" is prefilled
+ Then verify Type is "Medicaid SPA"
+ Then verify the Subsequent "Medicaid SPA" Documents section exists
+ Then verify the Cover Letter attachment is not listed
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then i am on Dashboard Page
+
+ Scenario: Upload Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Medicaid SPA Documentation"
+ Then verify "SPA ID" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then i am on Dashboard Page
+ Then verify the success message is "Attachments have been successfully submitted"
+
+
+ Scenario: Upload Subsequent Documents from the details page
+ Then click the SPA ID link in the first row
+ Then verify the package details page is visible
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Medicaid SPA Documentation"
+ Then verify "SPA ID" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then verify the package details page is visible
+ Then verify the success message is "Attachments have been successfully submitted"
+ Then verify the Subsequent Documentation Uploaded caret button exists
+ Then verify the Subsequent Documentation download all button exists
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Subsequent_Submission_Renewal_Waiver.spec.feature b/tests/cypress/cypress/e2e/Subsequent_Submission_Renewal_Waiver.spec.feature
new file mode 100644
index 000000000..ba145a41e
--- /dev/null
+++ b/tests/cypress/cypress/e2e/Subsequent_Submission_Renewal_Waiver.spec.feature
@@ -0,0 +1,95 @@
+Feature: Subsequent Submission 1915b Renewal Waiver
+ Background: Reoccuring Steps
+ Given I am on Login Page
+ When Clicking on Development Login
+ When Login with "an Active" "State Submitter" user
+ Then click on the Waivers tab
+ Then Click on Filter Button
+ Then click on Type
+ Then uncheck all of the type checkboxes
+ Then click 1915b Waiver Renewal check box
+ Then click on Type
+ Then click on Status
+ Then uncheck all of the status checkboxes
+ Then click Under Review checkbox
+ Then Click on Filter Button
+
+ Scenario: Screen Enhance - Subsequent Document from the details page
+ Then click the Waiver Number link in the first row
+ Then verify the package details page is visible
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Renewal Documentation"
+ Then verify the form title is "Waiver Renewal Subsequent Submission Details"
+ Then verify "1915(b) Waiver Renewal Number" is prefilled
+ Then verify Type is "1915(b) Waiver Renewal"
+ Then verify the Subsequent "Waiver Renewal" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then verify the package details page is visible
+
+ Scenario: Screen Enhance - Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then verify Upload Subsequent Documents action exists
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Renewal Documentation"
+ Then verify the form title is "Waiver Renewal Subsequent Submission Details"
+ Then verify "1915(b) Waiver Renewal Number" is prefilled
+ Then verify Type is "1915(b) Waiver Renewal"
+ Then verify the Subsequent "Waiver Renewal" Documents section exists
+ Then verify the additional information section exists
+ Then verify the submit button is disabled
+ Then verify form cancel button exists
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click modal cancel button
+ Then click form cancel button
+ Then click Leave Anyway form button
+ Then i am on Dashboard Page
+
+ Scenario: Upload Subsequent Documents from the package dashboard
+ Then click the actions button in row one
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Renewal Documentation"
+ Then verify "1915(b) Waiver Renewal Number" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then i am on Dashboard Page
+ Then verify the success message is "Attachments have been successfully submitted"
+
+ Scenario: Upload Subsequent Documents from the details page
+ Then click the Waiver Number link in the first row
+ Then verify the package details page is visible
+ Then click the Upload Subsequent Documents action button
+ Then verify the page header is "Upload Subsequent Waiver Renewal Documentation"
+ Then verify "1915(b) Waiver Renewal Number" is prefilled
+ Then attach "adobe.pdf" file to attachment 1
+ Then into "Additional Information" type "This is an automated subsequent submission test."
+ Then Click the Submit Button without waiting
+ Then verify the modal pop-up is visible
+ Then verify the detailed text in the modal contains "OneMAC is solely for file submission purposes."
+ Then verify the yes, submit modal button is visible and clickable
+ Then click the yes, submit modal button
+ Then verify the package details page is visible
+ Then verify the success message is "Attachments have been successfully submitted"
+ Then verify the Subsequent Documentation Uploaded caret button exists
+ Then verify the Subsequent Documentation download all button exists
\ No newline at end of file
diff --git a/tests/cypress/cypress/e2e/Temporary_Extension_1915b_Form.spec.feature b/tests/cypress/cypress/e2e/Temporary_Extension_1915b_Form.spec.feature
index 87c4fc9aa..58e00268b 100644
--- a/tests/cypress/cypress/e2e/Temporary_Extension_1915b_Form.spec.feature
+++ b/tests/cypress/cypress/e2e/Temporary_Extension_1915b_Form.spec.feature
@@ -18,6 +18,8 @@ Feature: Package Dashboard Temporary Extension
Then search for "MD-5533.R00.TE00"
Then click the Waiver Number link in the first row
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915b Temporary Extension
Then verify there is a Approved Initial or Renewal Number header in the details section
diff --git a/tests/cypress/cypress/e2e/Temporary_Extension_1915c_Form.spec.feature b/tests/cypress/cypress/e2e/Temporary_Extension_1915c_Form.spec.feature
index 2b3560142..a9c626707 100644
--- a/tests/cypress/cypress/e2e/Temporary_Extension_1915c_Form.spec.feature
+++ b/tests/cypress/cypress/e2e/Temporary_Extension_1915c_Form.spec.feature
@@ -19,6 +19,8 @@ Feature: Package Dashboard Temporary Extension
Then search for "MD-5533.R00.TE01"
Then click the Waiver Number link in the first row
Then verify the details section exists
+ Then verify there is a Latest Package Activity header in the details section
+ Then verify a full date and time entry exists for the Latest Package Activity
Then verify there is a Type header in the details section
Then verify the type is 1915c Temporary Extension
Then verify there is a Approved Initial or Renewal Number header in the details section
diff --git a/tests/cypress/cypress/e2e/common/steps.js b/tests/cypress/cypress/e2e/common/steps.js
index 4e7399ca7..85ab106a5 100644
--- a/tests/cypress/cypress/e2e/common/steps.js
+++ b/tests/cypress/cypress/e2e/common/steps.js
@@ -79,22 +79,6 @@ Then(
);
}
);
-Then(
- "verify the detailed text in the modal contains you are submitting your official formal RAI Response to restart the SPA review process and a new 90th day will be identified",
- () => {
- OneMacFormPage.verifyModalTextIs(
- "you are submitting your official formal RAI Response to restart the SPA review process and a new 90th day will be identified."
- );
- }
-);
-Then(
- "verify the detailed text in the modal contains you are submitting your official formal RAI Response to start the 90 day clock review process",
- () => {
- OneMacFormPage.verifyModalTextIs(
- "you are submitting your official formal RAI Response to start the 90 day clock review process"
- );
- }
-);
Then("verify form cancel button exists", () => {
OneMacFormPage.verifyCancelBtnExists();
@@ -118,7 +102,7 @@ Then("verify submission successful message in the alert bar", () => {
OneMacDashboardPage.verifySuccessMessage1IsDisplayed();
});
-Then("i am on User Management Page", () => {
+Then("I am on the User Management Page", () => {
OneMacUserManagmentPage.verifyWeAreOnUserManagmentPage();
});
Then("Click on My Account", () => {
@@ -1500,6 +1484,12 @@ Then("click Yes, withdraw response button", () => {
Then("verify Yes, withdraw response button exists", () => {
OneMacDashboardPage.verifyConfirmWithdrawResponseBtnExists();
});
+Then("click the yes, submit modal button", () => {
+ OneMacFormPage.clickYesSubmitBTN();
+});
+Then("verify the yes, submit modal button is visible and clickable", () => {
+ OneMacFormPage.verifyModalSubmitExistsAndClickable();
+});
Then("verify the package details page is visible", () => {
OneMacPackageDetailsPage.verifyPackageDetailsPageIsVisible();
});
@@ -2073,3 +2063,73 @@ Then("verify all sections are expanded", () => {
Then("verify page url contains {string}", (checkUrl) => {
OneMacDashboardPage.verifyPageByURL(checkUrl);
});
+Then("verify the Subsequent Documentation Uploaded caret button exists", () => {
+ OneMacPackageDetailsPage.verifySubsequentSubmissionCaretBtnExists();
+});
+Then("click the Subsequent Documentation Uploaded caret button", () => {
+ OneMacPackageDetailsPage.clickSubsequentSubmissionCaretBtn();
+});
+Then("verify the Subsequent Documentation download all button exists", () => {
+ OneMacPackageDetailsPage.verifySubsequentSubmissionDownloadAllBtnExists();
+});
+Then("click the Subsequent Documentation download all button", () => {
+ OneMacPackageDetailsPage.clickSubsequentSubmissionDownloadAllBtn();
+});
+Then("verify Upload Subsequent Documents action exists", () => {
+ OneMacPackageDetailsPage.verifyUploadSubsequentDocumentsActionBtnExists();
+});
+Then("click the Upload Subsequent Documents action button", () => {
+ OneMacPackageDetailsPage.clickUploadSubsequentDocumentsActionBtn();
+});
+Then("verify the Subsequent {string} Documents section exists", (type) => {
+ OneMacFormPage.verifySubsequentDocumentsSectionExistsWith(type);
+});
+Then("verify the detailed text in the modal contains {string}", (s) => {
+ OneMacFormPage.verifyModalTextIs(s);
+});
+Then("verify the Cover Letter attachment is not listed", () => {
+ OneMacFormPage.verifyCoverLetterDoesNotExist();
+});
+Then("verify Latest Package Activity checkbox exists", () => {
+ OneMacDashboardPage.verifyLatestPackageActivityCheckboxExists();
+});
+Then("click Latest Package Activity checkbox", () => {
+ OneMacDashboardPage.clickCheckBoxLatestPackageActivity();
+});
+Then("verify Latest Package Activity column exists", () => {
+ OneMacDashboardPage.verifyLatestPackageActivityColumnExists();
+});
+Then("verify Latest Package Activity column does not exist", () => {
+ OneMacDashboardPage.verifyLatestPackageActivityDoesNotExist();
+});
+Then("click on Latest Package Activity filter dropdown", () => {
+ OneMacDashboardPage.clickOnLatestPackageActivityFilterDropdown();
+});
+Then("verify Latest Package Activity date picker filter exists", () => {
+ OneMacDashboardPage.verifyLatestPackageActivityDatePickerFilterExists();
+});
+Then("click on Latest Package Activity date picker filter", () => {
+ OneMacDashboardPage.clickOnLatestPackageActivityDatePickerFilter();
+});
+Then("verify Latest Package Activity dropdown filter exists", () => {
+ OneMacDashboardPage.verifyLatestPackageActivityDateFilterDropdownExists();
+});
+Then("click on Latest Package Activity dropdown filter", () => {
+ OneMacDashboardPage.clickOnLatestPackageActivityFilterDropdown();
+});
+
+Then("click on Latest Package Activity dropdown filter", () => {
+ OneMacDashboardPage.clickOnLatestPackageActivityFilterDropdown();
+});
+Then(
+ "verify there is a Latest Package Activity header in the details section",
+ () => {
+ OneMacPackageDetailsPage.verifyLatestPackageActivityHeaderExists();
+ }
+);
+Then(
+ "verify a full date and time entry exists for the Latest Package Activity",
+ () => {
+ OneMacPackageDetailsPage.verifyLatestPackageActivityDateExists();
+ }
+);
diff --git a/tests/cypress/support/pages/oneMacDashboardPage.js b/tests/cypress/support/pages/oneMacDashboardPage.js
index f81af72ee..be61f7419 100644
--- a/tests/cypress/support/pages/oneMacDashboardPage.js
+++ b/tests/cypress/support/pages/oneMacDashboardPage.js
@@ -1,10 +1,6 @@
const newSubmissionBTN = "#new-submission-button";
const successMessage = "#alert-bar h2";
const successMessage1 = "#alert-bar";
-//Element is Xpath use cy.xpath instead of cy.get
-const successMessageAfterRAIResponse =
- '//*[contains(text(),"Your submission has been received.")]';
-
//Element is Xpath use cy.xpath instead of cy.get
const IDNUMBER = (id) => `//a[text()="${id}"]`;
//Element is Xpath use cy.xpath instead of cy.get
@@ -227,20 +223,9 @@ const unsubmittedCheckbox =
"//label[contains(@for,'checkbox_packageStatus-Unsubmitted')]";
const packageRowOneID = "#componentId-0";
const packageRowTwoID = "#componentId-1";
-const packageRowTwoInitialSubmissionDate = "#submissionTimestamp-1";
-const packageRowTwo90thDay = "#ninetiethDay-1";
-const packageRowTwoType = "#componentType-1";
-const packageRowTwoState = "#territory-1";
const packageRowTwoStatus = "#packageStatus-1";
//Element is Xpath use cy.xpath instead of cy.get
-const parentRowExpander = "//tr[1]//button[@aria-label='Expand row']";
-const rowTwo = "tbody > tr:nth-child(2)";
-const packageRowTwoSubmittedBy = "#submitter-1";
-const packageRowTwoActions = "#packageActions-1";
-//Element is Xpath use cy.xpath instead of cy.get
-const packageRowTwoExpirationDate = "#expirationTimestamp-1";
-//Element is Xpath use cy.xpath instead of cy.get
-const childRows = "//tr[@class = 'child-row-expanded']";
+
const withdrawPackageBtn = "//a[text()='Withdraw Package']";
const withdrawPackageConfirmBtn =
"//button[contains(text(),'Yes, withdraw package')]";
@@ -256,6 +241,13 @@ const respondToRAIBtn =
const RequestTempExtensionBtn = "//a[text()='Request Temporary Extension']";
const addAmendmentBtn = "//a[text()='Add Amendment']";
const waiverNumLink = (n) => `//a[text()="${n}"]`;
+const latestPackageActivityCheckbox =
+ "//label[contains(@for,'checkbox_columnPicker-Latest Package Activity')]";
+const latestPackageActivityDateFilterDropdown = "#lastActivityTimestamp-button";
+const latestPackageActivityDatePickerFilter =
+ "#lastActivityTimestamp-date-filter";
+const packageRowOneLatestPackageActivity = "#lastActivityTimestamp-0";
+const latestPackageActivityColumn = "#lastActivityTimestampColHeader";
export class oneMacDashboardPage {
verifyPageByURL(expectedUrl) {
@@ -997,5 +989,31 @@ export class oneMacDashboardPage {
verifyFinalDispositionColumnDoesNotExist() {
cy.get(finalDispositionColumn).should("not.exist");
}
+ verifyLatestPackageActivityCheckboxExists() {
+ cy.xpath(latestPackageActivityCheckbox).should("exist");
+ }
+ clickCheckBoxLatestPackageActivity() {
+ cy.xpath(latestPackageActivityCheckbox).click();
+ }
+ verifyLatestPackageActivityColumnExists() {
+ cy.get(latestPackageActivityColumn).should("be.visible");
+ }
+ verifyLatestPackageActivityDoesNotExist() {
+ cy.get(latestPackageActivityColumn).should("not.exist");
+ }
+ clickOnLatestPackageActivityFilterDropdown() {
+ cy.get(latestPackageActivityDateFilterDropdown).wait(1000);
+ cy.get(latestPackageActivityDateFilterDropdown).click();
+ }
+ verifyLatestPackageActivityDatePickerFilterExists() {
+ cy.get(latestPackageActivityDatePickerFilter).last().should("exist");
+ }
+ clickOnLatestPackageActivityDatePickerFilter() {
+ cy.get(latestPackageActivityDatePickerFilter).wait(1000);
+ cy.get(latestPackageActivityDatePickerFilter).last().click();
+ }
+ verifyLatestPackageActivityDateFilterDropdownExists() {
+ cy.get(latestPackageActivityDateFilterDropdown).should("be.visible");
+ }
}
export default oneMacDashboardPage;
diff --git a/tests/cypress/support/pages/oneMacFormPage.js b/tests/cypress/support/pages/oneMacFormPage.js
index 204999b19..85305b62d 100644
--- a/tests/cypress/support/pages/oneMacFormPage.js
+++ b/tests/cypress/support/pages/oneMacFormPage.js
@@ -14,7 +14,6 @@ const attachmentInfoDescription =
"//h3[text()='Attachments']/following-sibling::p[1]";
const enterMmdlBtn = "//button[contains(text(),'Enter the MMDL system')]";
const enterMacProBtn = "//button[contains(text(),'Enter the MACPro system')]";
-
const IDInputBox = idElement;
const errorMessageID = "#componentIdStatusMsg0";
const errorMessageLine2ID = "#componentIdStatusMsg1";
@@ -26,7 +25,8 @@ const tempExtensionTypeHeader =
"//h3[contains(text(),'Temporary Extension Type')]";
const tempExtensionTypeBtn = "#temp-ext-type";
const formIntroElement = "#form-intro";
-
+const subsequentDocumentsHeader = (type) =>
+ `//h3[contains(text(),'Subsequent ${type} Documents')]`;
const labelElementFromLabel = {
"Additional Information": "#additional-information-label",
};
@@ -78,6 +78,8 @@ const dateElementsFromLabel = {
"Proposed Effective Date of 1915(c) Appendix K Amendment":
"#proposed-effective-date",
};
+const yesSubmitBtn = "//button[text()='Yes, Submit']";
+const coverLetterAttachment = "//div[contains(text(),'Cover Letter')]";
//internal function for proposed effective date
function caculateMonthsInFuture(numMonths) {
@@ -319,5 +321,18 @@ export class oneMacFormPage {
verifyAttachmentType(attachmentType) {
cy.xpath(`//h3[text()='${attachmentType}']`).should("be.visible");
}
+ verifySubsequentDocumentsSectionExistsWith(type) {
+ cy.xpath(subsequentDocumentsHeader(type)).should("be.visible");
+ }
+ clickYesSubmitBTN() {
+ cy.xpath(yesSubmitBtn).click();
+ cy.wait(8000);
+ }
+ verifyModalSubmitExistsAndClickable() {
+ cy.xpath(yesSubmitBtn).should("be.visible").and("be.enabled");
+ }
+ verifyCoverLetterDoesNotExist() {
+ cy.xpath(coverLetterAttachment).should("not.exist");
+ }
}
export default oneMacFormPage;
diff --git a/tests/cypress/support/pages/oneMacPackageDetailsPage.js b/tests/cypress/support/pages/oneMacPackageDetailsPage.js
index 70999cf6c..09962b0d1 100644
--- a/tests/cypress/support/pages/oneMacPackageDetailsPage.js
+++ b/tests/cypress/support/pages/oneMacPackageDetailsPage.js
@@ -27,7 +27,6 @@ const detailSection =
"//section[@class='detail-section']//h2[contains(.,'Details')]";
const disableRAIResponseWithdrawAction =
"//a[text()='Disable Formal RAI Response Withdraw']";
-const CHIPSPAIDHeader = "//h3[contains(text(),'SPA ID')]";
const typeHeader = "//h3[contains(text(),'Type')]";
const parentWaiverNumberHeader =
"//h3[contains(text(),'Approved Initial or Renewal Number')]";
@@ -43,8 +42,7 @@ const approvedEffectiveDateHeader =
const formalRAIReceivedDateHeader =
"//h3[contains(text(),'Formal RAI Received')]";
const adminPkgChangeSection = "//h2[text()='Administrative Package Changes']";
-const additionalInfoSection =
- "//section[contains(@id, 'addl-info-chrono')]//h2[text()='Additional Information']";
+const additionalInfoSection = "#additional-information-label";
const waiverAuthorityHeader = "//h3[text()='Waiver Authority']";
const attachmentsSection = "//h2[text()='Supporting Documentation']";
const amendmentTitleHeader = "//h3[text()='Amendment Title']";
@@ -62,6 +60,13 @@ const withdrawalRequestedCaretBtn =
'//h2//button[contains(@id,"Package0_caret-button")]';
const subStatus = "#substatus";
const secondClock = "#secondclock";
+const uploadSubsequentDocumentsActionBtn =
+ "//a[contains(@id,'subsequent-submission-action')]";
+const subsequentSubmissionCaretBtn =
+ '//h2//button[contains(@id,"Subsequent Documentation Uploaded")]';
+const subsequentSubmissionDownloadAllBtn =
+ '//button[contains(@id,"dl_Subsequent Documentation Uploaded")]';
+const latestActivityHeader = "//h3[text()='Latest Package Activity']";
export class oneMacPackageDetailsPage {
verifyPackageDetailsPageIsVisible() {
@@ -268,7 +273,7 @@ export class oneMacPackageDetailsPage {
cy.xpath(attachmentsSection).should("be.visible");
}
verifyAdditionalInfoSectionExists() {
- cy.xpath(additionalInfoSection).should("be.visible");
+ cy.get(additionalInfoSection).should("be.visible");
}
verifyAdministrativePackageChangesSectionExists() {
cy.xpath(adminPkgChangeSection).should("be.visible");
@@ -358,5 +363,34 @@ export class oneMacPackageDetailsPage {
verifyTheSubStatus() {
cy.get(subStatus).contains("Withdraw Formal RAI Response Enabled");
}
+ verifyUploadSubsequentDocumentsActionBtnExists() {
+ cy.xpath(uploadSubsequentDocumentsActionBtn)
+ .should("be.visible")
+ .and("contain", "Upload Subsequent Documents");
+ }
+ clickUploadSubsequentDocumentsActionBtn() {
+ cy.xpath(uploadSubsequentDocumentsActionBtn).click();
+ }
+ verifySubsequentSubmissionCaretBtnExists() {
+ cy.xpath(subsequentSubmissionCaretBtn).should("be.visible");
+ }
+ clickSubsequentSubmissionCaretBtn() {
+ cy.xpath(subsequentSubmissionCaretBtn).click();
+ }
+
+ verifySubsequentSubmissionDownloadAllBtnExists() {
+ cy.xpath(subsequentSubmissionDownloadAllBtn).should("be.visible");
+ }
+ clickSubsequentSubmissionDownloadAllBtn() {
+ cy.xpath(subsequentSubmissionDownloadAllBtn).click();
+ }
+ verifyLatestPackageActivityDateExists() {
+ cy.xpath(latestActivityHeader)
+ .next()
+ .contains(/^[a-zA-Z]{3}.\d{2}.\d{4}||^[a-zA-Z]{3}.\d{1}.\d{4}/);
+ }
+ verifyLatestPackageActivityHeaderExists() {
+ cy.xpath(latestActivityHeader).should("be.visible");
+ }
}
export default oneMacPackageDetailsPage;
diff --git a/tests/cypress/support/pages/oneMacUserManagmentPage.js b/tests/cypress/support/pages/oneMacUserManagmentPage.js
index a7cf36280..d852de255 100644
--- a/tests/cypress/support/pages/oneMacUserManagmentPage.js
+++ b/tests/cypress/support/pages/oneMacUserManagmentPage.js
@@ -1,4 +1,4 @@
-const myAccountDropDown = "#myAccountLink";
+const myAccountDropdown = "#myAccountLink";
const manageProfileBTN = "#manageAccountLink";
//Element is Xpath use cy.xpath instead of cy.get
const userManagmentHeader = '//h1[contains(text(),"User Management")]';
@@ -21,8 +21,8 @@ const userNameValenciaM = "//td[text()='Valencia McMurray']";
const denyAccessBtn = "//div[@autofocus]//li[text()='Deny Access']";
export class oneMacUserManagmentPage {
- clickMyAccountDropDown() {
- cy.get(myAccountDropDown).click();
+ clickMyAccountDropdown() {
+ cy.get(myAccountDropdown).click();
}
clickmanageProfileBTN() {
cy.get(manageProfileBTN).click();