Skip to content

Commit

Permalink
removed unused steps from lines 43-1075
Browse files Browse the repository at this point in the history
  • Loading branch information
bflynn-cms committed Oct 3, 2023
1 parent 5d1714b commit f879e4a
Showing 1 changed file with 0 additions and 141 deletions.
141 changes: 0 additions & 141 deletions tests/cypress/cypress/e2e/common/steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,48 +95,11 @@ Then("Add {string} file to form 179", (fileName) => {
OneMacSubmitNewMedicaidSpaPage.addFileForForm179(fileName);
});

Then("Verify {string} is added to form 179", (fileName) => {
OneMacSubmitNewMedicaidSpaPage.verifyFileAddedForForm179(fileName);
});

Then("Verify {string} is not added to form 179", (fileName) => {
OneMacSubmitNewMedicaidSpaPage.verifyFileNotAddedForForm179(fileName);
});

Then("Delete file from form 179", () => {
OneMacSubmitNewMedicaidSpaPage.deleteFileFromForm179();
});

//End OY2-5869
Then("Add file for SPA Pages", () => {
OneMacSubmitNewMedicaidSpaPage.uploadSPAPagesAddFile();
});

Then("Add file {string} for SPA Pages", (fileName) => {
OneMacSubmitNewMedicaidSpaPage.addFilesToSpaPages(fileName);
});

Then("Add no files to SPA Pages", () => {
oneMacSubmitNewMedicaidSpaPage.addNoFilesToSpaPages();
});

Then("Verify no files added to SPA Pages", () => {
oneMacSubmitNewMedicaidSpaPage.verifyNoFilesAttachedToSpaPages();
});

Then("Verify {string} is added to SPA Pages", (fileName) => {
OneMacSubmitNewMedicaidSpaPage.verifyFileAddedForSpaPages(fileName);
});

Then("Verify file {string} exists in Spa Pages", (fileName) => {
OneMacSubmitNewMedicaidSpaPage.verifyFileNameExistsInSpaPages(fileName);
});

Then("Type Additonal Information Comments", () => {
OneMacSubmitNewMedicaidSpaPage.AdditionalInformationTypeComment(
"This is just a test"
);
});
Then("Type Additonal Info Comments in new form", () => {
OneMacSubmitNewMedicaidSpaPage.additionalInfoTypeComment(
"This is just a test"
Expand Down Expand Up @@ -179,18 +142,6 @@ Then(
}
);

Then("click yes, submit RAI response button", () => {
OneMacRespondToRAIPage.clickYesSubmitBTN();
});
Then("verify submission warning text is visible", () => {
OneMacSubmitNewMedicaidSpaPage.verifySubmissionWarningTextIsVisible();
});
Then("verify submission warning text", () => {
OneMacSubmitNewMedicaidSpaPage.verifySubmissionWarningText();
});
Then("verify the form Submit Button exists", () => {
OneMacDefaultForms.verifySubmitBtnExists();
});
Then("verify form cancel button exists", () => {
OneMacDefaultForms.verifyCancelBtnExists();
});
Expand All @@ -212,25 +163,10 @@ Then("verify the success message is {string}", (s) => {
Then("verify submission successful message in the alert bar", () => {
OneMacDashboardPage.verifySuccessMessage1IsDisplayed();
});
Then("verify submission date", () => {
OneMacDashboardPage.verifyDate();
});
Then("Verify submission type", () => {
OneMacDashboardPage.verifyType("Medicaid SPA");
});

Then("Verify submission Waiver type", () => {
OneMacDashboardPage.verifyType("Waiver");
});
Then("Add file for RAI Response", () => {
medicaidSPARAIResponsePage.uploadRAIResponseAddFile();
});
Then("Add Additional Comments", () => {
medicaidSPARAIResponsePage.addCommentsRAIRespone();
});
Then("verify submission Successful message after RAI", () => {
OneMacDashboardPage.verifySuccessMessageIsDisplayedAfterRAIResponse();
});
//this is for the oy2 8616
When("Login with cms role approver", () => {
OneMacDevLoginPage.loginAsCMSRoleApprover();
Expand Down Expand Up @@ -265,9 +201,6 @@ Then("Role text is Displayed", () => {
Then("Actual Role is Displayed", () => {
OneMacMyProfilePage.verifyRole();
});
Then("User Role is Read Only User", () => {
OneMacMyProfilePage.verifyRole();
});
Then("Email text is Displayed", () => {
OneMacMyProfilePage.verifyEmailHeader();
});
Expand Down Expand Up @@ -307,33 +240,9 @@ When("Login as a State System Admin", () => {
Then("i am on Dashboard Page", () => {
OneMacDashboardPage.verifyWeAreOnDashboardPage();
});
Then("verify Submission List is Displayed", () => {
OneMacDashboardPage.verifySubmissionListIsDisplayed();
});
Then("verify Export to Excel CSV is Displayed", () => {
OneMacDashboardPage.verifyexportToEXcelCSVBTNIsDisplayed();
});
Then("verify IDNumber is Displayed", () => {
OneMacDashboardPage.verifyidNumberHeaderIsDisplayed();
});
Then("verify Type is Displayed", () => {
OneMacDashboardPage.verifytypeHeaderIsDisplayed();
});
Then("verify state is Displaed", () => {
OneMacDashboardPage.verifyStateHeaderIsDisplayed();
});
Then("verify Initial Submission Date is Displayed", () => {
OneMacDashboardPage.verifyInitialSubmissionDateHeaderIsDisplayed();
});
Then("verify Submitted By is Displayed", () => {
OneMacDashboardPage.verifySubmittedByHeadersDisplayed();
});
Then("Click on the SPA ID Link", () => {
OneMacDashboardPage.clickOnSpaID();
});
Then("Verify {string} exists in the attachments", (fileName) => {
OneMacDashboardPage.verifyAttachmentExists(fileName);
});
Then("verify User Management is Displayed", () => {
OneMacUserManagmentPage.verifyUserManagmentHeaderIsDisplayed();
});
Expand Down Expand Up @@ -382,10 +291,6 @@ Then("clear SPA ID in Medicaid SPA Input box", () => {
OneMacSubmitNewMedicaidSpaPage.clearSPAIDInputBox();
});

Then("Return to dashboard Page", () => {
OneMacSubmitNewMedicaidSpaPage.clickOnDashboardTab();
});

Then("type in invalid SPA ID on Medicaid SPA page", () => {
OneMacSubmitNewMedicaidSpaPage.typeIncorrectSPAIDAndFormat();
});
Expand Down Expand Up @@ -429,10 +334,6 @@ Then("click on 1915b Comprehensive Capitated Waiver Authority", () => {
OneMacSubmissionTypePage.click1915bComprehensiveCapitatedWaiverAuthority();
});

Then("click on Waiver Action on Waiver Action Type page", () => {
OneMacSubmissionTypePage.clickWaiverActionUnderWaiverAction();
});

Then("click on 1915b 4 FFS Selective Contracting New Initial Waiver", () => {
OneMacSubmissionTypePage.clickInitialWaiver();
});
Expand Down Expand Up @@ -536,13 +437,6 @@ Then("verify All Other CHIP SPA Submissions is a clickable option", () => {
Then("click All Other CHIP SPA Submissions", () => {
OneMacSubmissionTypePage.clickAllOtherChip();
});
Then("select Action Type New Waiver", () => {
OneMacSubmitNewWaiverActionPage.selectNewWaiverUnderActionType();
});

Then("select 1915b 4 FFS Selective Contracting waivers", () => {
OneMacSubmitNewWaiverActionPage.select1915b4FFSSelectiveContractingwaiversUnderWaiverAuthority();
});

Then(
"Add file for 1915b 4 FFS Selective Contracting waiver application pre-print",
Expand All @@ -559,10 +453,6 @@ Then("Click on Waiver Action under Waiver Type", () => {
OneMacSubmissionTypePage.clickWaiverActionUnderWaiverAction();
});

Then("Click on New Waiver under Action type", () => {
OneMacSubmitNewWaiverActionPage.selectNewWaiverUnderActionType();
});

Then("verify error message is not present on New Waiver Page", () => {
OneMacSubmitNewWaiverActionPage.verifyErrorMessageIsNotDisplayed();
});
Expand All @@ -577,9 +467,6 @@ Then("type in invalid Waiver Number", () => {
OneMacSubmitNewWaiverActionPage.inputWaiverNumber("MD.123456");
});

Then("Click the Request Extension button", () => {
OneMacSubmissionTypePage.clickRequestExtensionBtn();
});
Then("Click on Request Temporary Extension in Package dashboard", () => {
OneMacSubmissionTypePage.clickRequestTemporaryExtension();
});
Expand Down Expand Up @@ -698,9 +585,6 @@ Then("upload Waiver Extension Request", () => {
OneMacRequestWaiverTemporaryExtension.uploadWaiverExtensionRequest();
});

Then("Type {string} in Summary Box", (Comments) => {
OneMacSubmitNewWaiverActionPage.inputComments(Comments);
});
Then("type {string} in additional info textarea", (Comments) => {
OneMacSubmitNewWaiverActionPage.inputAdditionalInfoText(Comments);
});
Expand All @@ -712,14 +596,6 @@ Then(
}
);

Then("Click on Waiver Amendment under Action type", () => {
OneMacSubmitNewWaiverActionPage.selectWaiverAmendmentUnderActionType();
});

Then("Click on Request for waiver renewal from Action Type", () => {
OneMacSubmitNewWaiverActionPage.selectRequestForWaiverRenewalUnderActionType();
});

Then("type in Existing Waiver Number in new form", () => {
OneMacSubmitNewWaiverActionPage.inputExistingWaiverNumberNewForms();
});
Expand Down Expand Up @@ -816,9 +692,6 @@ Then("verify id number in the first row matches CHIP SPA ID", () => {
OneMacPackagePage.verifyIDNumberInFirstRowIs(data.newChipSPAID1);
});
});
Then("verify success message for Withdrawal", () => {
OneMacPackagePage.verifyPackageWithdrawalMessageIsDisplayed();
});

Then("click on Packages", () => {
OneMacDashboardPage.clickPackageTab();
Expand All @@ -844,12 +717,6 @@ Then(
OneMacPackagePage.verifyexpirationDateColumnHeaderExists();
}
);
Then("expiration date on MD.32560 is Oct 14, 2026", () => {
OneMacPackagePage.verifyMD32560ExpirationDateIsSetTooct142026();
});
Then("Expiration Date value for generated Record is {string}", (s) => {
OneMacPackagePage.verifyExpirationDateFirstValue(s);
});
Then("Add file for Current State Plan", () => {
OneMacCHIPSPAPage.uploadCurrentStatePlanFile();
});
Expand Down Expand Up @@ -879,14 +746,6 @@ When("Login with cms role approver Denied", () => {
OneMacDevLoginPage.loginAsCMSUserDenied();
});

Then("Actual Status is Displayed with Access Revoked", () => {
OneMacMyProfilePage.verifyAccessStatusRevoked();
});

Then("Actual Status is Displayed with Access Denied", () => {
OneMacMyProfilePage.verifyAccessStatusDenied();
});

Then("Verify General Section Exists", () => {
OneMacFAQPage.verifyGeneralSectionExists();
});
Expand Down

0 comments on commit f879e4a

Please sign in to comment.