diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fe8dfa3f0..8f07852a2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -394,7 +394,7 @@ jobs: with: working-directory: tests/cypress spec: cypress/e2e/${{ matrix.containers }} - browser: chrome + browser: chromium config: baseUrl=${{ env.APPLICATION_ENDPOINT }} - name: Upload screenshots uses: actions/upload-artifact@v3 @@ -495,7 +495,7 @@ jobs: with: working-directory: tests/cypress spec: cypress/e2e/a11y/${{ matrix.containers }}.spec.js - browser: chrome + browser: chromium config: baseUrl=${{ env.APPLICATION_ENDPOINT }} env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/tests/cypress/cypress/e2e/Comprehensive_Capitated_1915b_Waiver_Form_Logic.spec.feature b/tests/cypress/cypress/e2e/Comprehensive_Capitated_1915b_Waiver_Form_Logic.spec.feature index 95561f38d..719f2395a 100644 --- a/tests/cypress/cypress/e2e/Comprehensive_Capitated_1915b_Waiver_Form_Logic.spec.feature +++ b/tests/cypress/cypress/e2e/Comprehensive_Capitated_1915b_Waiver_Form_Logic.spec.feature @@ -45,7 +45,7 @@ Feature: Validate Waiver Form is checking ID format without period Then verify the "1915(b) Waiver Amendment Number" error message line 2 is "For amendments, the last two digits start with ‘01’ and ascends." Then verify the submit button is disabled Then clear the ID Input box - Then into "1915(b) Waiver Amendment Number" type "MD-12323.R01.01" + Then into "1915(b) Waiver Amendment Number" type "MD-12323.R01.03" Then verify ID error message is not present Then verify the submit button is not disabled diff --git a/tests/cypress/cypress/e2e/FFS_Selective_Waiver_Form_Logic.spec.feature b/tests/cypress/cypress/e2e/FFS_Selective_Waiver_Form_Logic.spec.feature index 77e123705..e576b7ba9 100644 --- a/tests/cypress/cypress/e2e/FFS_Selective_Waiver_Form_Logic.spec.feature +++ b/tests/cypress/cypress/e2e/FFS_Selective_Waiver_Form_Logic.spec.feature @@ -46,7 +46,7 @@ Feature: Validate Waiver Form is checking ID format without period Then verify the "1915(b) Waiver Amendment Number" error message line 2 is "For amendments, the last two digits start with ‘01’ and ascends." Then verify the submit button is disabled Then clear the ID Input box - Then into "1915(b) Waiver Amendment Number" type "MD-12323.R01.01" + Then into "1915(b) Waiver Amendment Number" type "MD-12323.R01.03" Then verify ID error message is not present Then verify the submit button is not disabled 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 61e88f245..8c9d9e4ac 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 @@ -288,6 +288,5 @@ Feature: Waiver Package Details View: Appendix K Amendment for a CMS User Then click Enable Formal RAI Response Withdraw package action Then Click on Submit Button Then verify the status on the card is "Pending" - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify Disable Formal RAI Response Withdraw package action exists 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 04fd599e4..58768fed6 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 @@ -237,7 +237,6 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User 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 sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify withdraw package action exists Then verify Withdraw Formal RAI Response package action exists @@ -271,7 +270,6 @@ Feature: Waiver Package Details View: Appendix K Amendment for a State User Then search for "MD-22958.R00.02" Then click the Waiver Number link in the first row Then verify the package details page is visible - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then click Withdraw Formal RAI Response package action Then into "Additional Information" type "Automated test to withdraw the RAI Response." Then Click the Submit Button without waiting 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 9593a615c..86864753c 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 @@ -271,6 +271,5 @@ Feature: CHIP SPA CMS Details View - Card View with Actions Then click Enable Formal RAI Response Withdraw package action Then Click on Submit Button Then verify the status on the card is "Pending" - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify Disable Formal RAI Response Withdraw package action exists diff --git a/tests/cypress/cypress/e2e/Package_Details_CHIP_SPA_State_User.spec.feature b/tests/cypress/cypress/e2e/Package_Details_CHIP_SPA_State_User.spec.feature index a0952bd03..6bbf9a597 100644 --- a/tests/cypress/cypress/e2e/Package_Details_CHIP_SPA_State_User.spec.feature +++ b/tests/cypress/cypress/e2e/Package_Details_CHIP_SPA_State_User.spec.feature @@ -224,7 +224,6 @@ Feature: CHIP SPA State Details View - Card View with Actions # Then click the SPA ID link in the first row # Then verify the package details page is visible # Then verify 2 action cards exist - # Then verify the sub status on the card is Withdraw Formal RAI Response Enabled # Then verify package actions header is visible # Then verify withdraw package action exists # Then verify Withdraw Formal RAI Response package action exists @@ -253,7 +252,6 @@ Feature: CHIP SPA State Details View - Card View with Actions # Then search for "MD-23-7650-VM" # Then click the SPA ID link in the first row # Then verify the package details page is visible - # Then verify the sub status on the card is Withdraw Formal RAI Response Enabled # Then click Withdraw Formal RAI Response package action # Then into "Additional Information" type "Automated test to withdraw the RAI Response." # Then Click the Submit Button without waiting 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 c4ffe6755..4933aa9be 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 @@ -301,6 +301,5 @@ Feature: Waiver Package Details View: Initial Waivers Then click Enable Formal RAI Response Withdraw package action Then Click on Submit Button Then verify the status on the card is "Pending" - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify Disable Formal RAI Response Withdraw package action exists 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 4e9274b68..012998761 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 @@ -256,7 +256,6 @@ Feature: Waiver Package Details View: Initial Waivers 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 sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify withdraw package action exists Then verify Withdraw Formal RAI Response package action exists @@ -288,7 +287,6 @@ Feature: Waiver Package Details View: Initial Waivers Then search for "MD-22116.R00.00" Then click the Waiver Number link in the first row Then verify the package details page is visible - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then click Withdraw Formal RAI Response package action Then into "Additional Information" type "Automated test to withdraw the RAI Response." Then Click the Submit Button without waiting 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 bc9f0058c..49274d5e9 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 @@ -270,7 +270,6 @@ Feature: Medicaid SPA CMS Details View - Card View with Actions Then click Enable Formal RAI Response Withdraw package action Then Click on Submit Button Then verify the status on the card is "Pending" - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify Disable Formal RAI Response Withdraw package action exists 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 97486a76e..c8079587f 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 @@ -248,7 +248,6 @@ Feature: Medicaid SPA State Details View - Card View with Actions Then search for "MD-23-7652-VM" Then click the SPA ID link in the first row Then verify the package details page is visible - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then click Withdraw Formal RAI Response package action Then into "Additional Information" type "Automated test to withdraw the RAI Response." Then Click the Submit Button without waiting 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 c652d67ce..f36556bd3 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 @@ -292,6 +292,5 @@ Feature: Waiver Package Details View: Waiver Renewal for a CMS User Then click Enable Formal RAI Response Withdraw package action Then Click on Submit Button Then verify the status on the card is "Pending" - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify Disable Formal RAI Response Withdraw package action exists 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 ad496a35e..6cdf011c9 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 @@ -245,7 +245,6 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User 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 sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify withdraw package action exists Then verify Withdraw Formal RAI Response package action exists @@ -275,7 +274,6 @@ Feature: Waiver Package Details View: Waiver Renewals for a State User Then search for "MD-22116.R01.00" Then click the Waiver Number link in the first row Then verify the package details page is visible - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then click Withdraw Formal RAI Response package action Then into "Additional Information" type "Automated test to withdraw the RAI Response." Then Click the Submit Button without waiting 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 c3081f2ab..ab7f5e78a 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 @@ -260,6 +260,5 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a CMS User Then click Enable Formal RAI Response Withdraw package action Then Click on Submit Button Then verify the status on the card is "Pending" - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify Disable Formal RAI Response Withdraw package action exists 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 591e8cb5b..d310de589 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 @@ -213,7 +213,6 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User 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 sub status on the card is Withdraw Formal RAI Response Enabled Then verify package actions header is visible Then verify withdraw package action exists Then verify Withdraw Formal RAI Response package action exists @@ -243,7 +242,6 @@ Scenario: Screen Enhance: 1915 b Waiver Amendment Details View - Withdraw RAI Re Then search for "MD-22204.R00.02" Then click the Waiver Number link in the first row Then verify the package details page is visible - Then verify the sub status on the card is Withdraw Formal RAI Response Enabled Then click Withdraw Formal RAI Response package action Then into "Additional Information" type "Automated test to withdraw the RAI Response." Then Click the Submit Button without waiting diff --git a/tests/cypress/support/pages/oneMacFormPage.js b/tests/cypress/support/pages/oneMacFormPage.js index 851d2c2f7..204999b19 100644 --- a/tests/cypress/support/pages/oneMacFormPage.js +++ b/tests/cypress/support/pages/oneMacFormPage.js @@ -96,7 +96,7 @@ export class oneMacFormPage { cy.get(elementFromLabel[whereTo]).clear(); } inputInto(whereTo, newValue) { - cy.get(elementFromLabel[whereTo]).type(newValue); + cy.get(elementFromLabel[whereTo]).type(newValue, { delay: 200 }); } verifyPrefill(whereTo) { cy.xpath(`//h3[text()='${whereTo}']`)