Skip to content

Commit

Permalink
Dmirano/4328 speed up apd data test (#4353)
Browse files Browse the repository at this point in the history
* progress on 4238

* cypress budget test fixes

* progress on cypress budget test updates

* updated ffy's to fix failing tests

* removed a .only

* added a waitForSave()

* removed unnecesarry booleans and fixed fixtures

* finished updating tests, utilized cypress commands to save lines of code where possible

* fixed broken test, should work now
  • Loading branch information
mirano-darren authored Oct 17, 2022
1 parent e35706d commit bc4ec69
Show file tree
Hide file tree
Showing 13 changed files with 200 additions and 452 deletions.
1 change: 1 addition & 0 deletions e2e/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = defineConfig({
viewportHeight: 1000,
defaultCommandTimeout: 36000,
videoUploadOnPasses: false,
numTestsKeptInMemory: 5,
env: {
'cypress-react-selector': {
root: '#app'
Expand Down
13 changes: 13 additions & 0 deletions e2e/cypress/fixtures/HIE-activity-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,19 @@
"costs": [4000, 9000]
},

"costAllocationActivityTotalCostTables": [
[
["$274,512"],
["Other Funding", "-", "$4,000"],
["Total Computable Medicaid Cost", "$270,512"]
],
[
["$277,802"],
["Other Funding", "-", "$9,000"],
["Total Computable Medicaid Cost", "$268,802"]
]
],

"splitConstants": [
{
"split": "75-25",
Expand Down
39 changes: 3 additions & 36 deletions e2e/cypress/fixtures/HIT-activity-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@
},

"outcomes": {
"names": [
"Accept attestations for 2021, and modify SLR to meet new spec sheets released by CMS.",
"Provide support to EPs and EHs through attestation process."
],
"names": ["Provide support to EPs and EHs through attestation process."],
"metrics": [
[
"Complete SLR modifications by 11/1/21",
"Accept attestations through 4/30/22"
],
[
"Guidance available on Tycho''s websites",
"Office hours availble for EPs and EHs"
Expand All @@ -30,23 +23,11 @@
},

"milestones": {
"names": [
"Implementation of Final Rule and Stage 3 System Developments",
"Environmental Scan Completion"
],
"dates": [
[10, 5, 2021],
[3, 2, 2022]
]
"names": ["Environmental Scan Completion"],
"dates": [[3, 2, 2022]]
},

"staff": [
{
"title": "Project Assistant",
"description": "Coordination and document management support daily administrative support such as meeting minutes and scribe, manages project library, scheduling, and correspondence tracking.",
"costs": [86000, 88000],
"ftes": [1, 1]
},
{
"title": "Accountant III",
"description": "Coordinate program state and federal budget and expense reporting, review and validate charges to CMS federal reports.",
Expand All @@ -56,11 +37,6 @@
],

"expenses": [
{
"category": "Training and outreach",
"costs": [40000, 40000],
"description": "Recorded media and radio for supporting outreach."
},
{
"category": "Travel",
"costs": [35000, 35000],
Expand All @@ -69,15 +45,6 @@
],

"privateContractors": [
{
"name": "Super SLR Incorporated",
"description": "Maintain SLR",
"start": [12, 9, 2034],
"end": [5, 12, 2040],
"totalCosts": 50000,
"hourly": false,
"FFYcosts": [25000, 25000]
},
{
"name": "Bob the Builder",
"description": "Can he build it? Yes he can!",
Expand Down
13 changes: 13 additions & 0 deletions e2e/cypress/fixtures/MMIS-activity-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,19 @@
"costs": [4000, 9000]
},

"costAllocationActivityTotalCostTables": [
[
["$247,662"],
["Other Funding", "-", "$4,000"],
["Total Computable Medicaid Cost", "$243,662"]
],
[
["$338,318"],
["Other Funding", "-", "$9,000"],
["Total Computable Medicaid Cost", "$329,318"]
]
],

"splitConstants": [
{
"split": "75-25",
Expand Down
Loading

0 comments on commit bc4ec69

Please sign in to comment.