Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E automation test updates for Sub Sub #1501

Merged
merged 6 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ jobs:
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
Expand Down
26 changes: 25 additions & 1 deletion services/app-api/one-seed.json
Original file line number Diff line number Diff line change
Expand Up @@ -57100,7 +57100,31 @@
"eventTimestamp": 1693077990875,
"timestamp": 1675766233000,
"type": "Formal RAI Response"
}
},
{
"action": "Submitted",
"additionalInformation": "Initial Package for automated testing.",
"attachments": [
{
"contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"filename": "excel.xlsx",
"s3Key": "1690811753124/excel.xlsx",
"title": "1915(b) Comprehensive (Capitated) Waiver Cost Effectiveness Spreadsheets",
"url": "https://uploads-oy2-24636-attachments-116229642442.s3.us-east-1.amazonaws.com/protected/us-east-1%3A1cdd699c-f936-49b4-9f01-c4f4e8cfa595/1690811753124/excel.xlsx"
},
{
"contentType": "text/plain",
"filename": "textnotes.txt",
"s3Key": "1674655626214/textnotes.txt",
"title": "1915(b) Comprehensive (Capitated) Waiver Application Pre-print (Initial, Renewal, Amendment)",
"url": "https://uploads-master-attachments-989324938326.s3.us-east-1.amazonaws.com/protected/us-east-1%3A35b18373-d59d-4d36-8d7f-2ca368f6a6c1/1674655626214/textnotes.txt"
}
],
"currentStatus": "Submitted",
"eventTimestamp": 1673887033000,
"timestamp": 1673887033000,
"type": "Initial Package"
}
],
"reviewTeam": [
"Sally Brown"
Expand Down
1 change: 1 addition & 0 deletions tests/cypress/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ module.exports = defineConfig({
specPattern: ["cypress/e2e/**/*.feature", "cypress/e2e/**/*.spec.js"],
supportFile: "support/index.js",
stepDefinitions: ["cypress/e2e/common/steps.js"],
experimentalRunAllSpecs: true,
},
});
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ Feature: Package Dashboard - Filter options that include Dates
Then Click on Filter Button
Then verify Initial Submission Date column one date is this quarter

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: Filter by Formal RAI Received - Date picker
Then Click on Filter Button
Then click on Formal RAI Received dropdown filter
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify Review Team SRT is not visible in the details section
Then verify there is a Final Disposition Date header in the details section
Then verify there is an Approved Effective Date in the details section
#Then verify the Initial Submission caret button exists
#Then expand the Initial Submission caret
#Then verify the Initial Submission download all button exists
#Then verify the additional information section exists
Then verify the Initial Submission caret button exists
Then expand the Initial Submission caret
Then verify the Initial Submission download all button exists
Then verify the additional information section exists

Scenario: Screen Enhance: 1915 b Waiver Amendment Details View - Under Review
Then click Under Review checkbox
Expand All @@ -67,10 +67,10 @@ Feature: Waiver Package Details View: 1915 b Waiver Amendment for a State User
Then verify Review Team SRT is not visible in the details section
Then verify there is a Final Disposition Date header in the details section
Then verify there is an Approved Effective Date in the details section
#Then verify the Initial Submission caret button exists
#Then expand the Initial Submission caret
#Then verify the Initial Submission download all button exists
#Then verify the additional information section exists
Then verify the Initial Submission caret button exists
Then expand the Initial Submission caret
Then verify the Initial Submission download all button exists
Then verify the additional information section exists

Scenario: Screen Enhance: 1915 b Waiver Amendment Details View - RAI Issued
Then click RAI Issued checkbox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ Feature: Subsequent Submission 1915b Waiver Amendment
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 Subsequent "Waiver Amendment" Documents section exists
Then verify label "Reason for subsequent submission" exists on page
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 into "Reason for subsequent submission" 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 dialog title contains "OneMAC only for document submission"
Then verify the detailed text in the modal contains "States and CMS reviewers will communicate about the submission through email."
Then verify the yes, submit modal button is visible and clickable
Then click modal cancel button
Then click form cancel button
Expand All @@ -46,15 +47,16 @@ Feature: Subsequent Submission 1915b Waiver Amendment
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 Subsequent "Waiver Amendment" Documents section exists
Then verify label "Reason for subsequent submission" exists on page
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 into "Reason for subsequent submission" 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 dialog title contains "OneMAC only for document submission"
Then verify the detailed text in the modal contains "States and CMS reviewers will communicate about the submission through email."
Then verify the yes, submit modal button is visible and clickable
Then click modal cancel button
Then click form cancel button
Expand All @@ -66,28 +68,30 @@ Feature: Subsequent Submission 1915b Waiver Amendment
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 into "Reason for subsequent submission" 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 dialog title contains "OneMAC only for document submission"
Then verify the detailed text in the modal contains "States and CMS reviewers will communicate about the submission through email."
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."
Then verify the success message is "Documents 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 into "Reason for subsequent submission" 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 dialog title contains "OneMAC only for document submission"
Then verify the detailed text in the modal contains "States and CMS reviewers will communicate about the submission through email."
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 success message is "Documents submitted"
Then verify the Subsequent Documentation Uploaded caret button exists
Then verify the Subsequent Documentation download all button exists
Loading
Loading