eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

[Cypress] add budget checks into APD tests or bug tests

Open thetif opened this issue 2 years ago • 0 comments

Jerome would like us to add budget checks to the APD tests that are checked as you are putting in data to make sure it's being added to the correct places of the budget. These tests should be added to the apd-data tests.

Test Cases

Given When Then
An APD add a key personnel to activity 1 that doesn't have direct costs the budget should not be affected
An APD add a key personnel to activity 1 that does have direct costs the budget should be updated to show those costs in HIT state staff and in-house costs
An APD add a state personnel to an HIT activity the budget should be updated to show those costs in HIT state staff and in-house costs
An APD add a state expense to an HIT activity the budget should be updated to show those costs in HIT state expenses and in-house costs
An APD add a contractor to an HIT activity the budget should be updated to show those costs in HIT contractors costs
An APD add a state personnel to an HIE activity the budget should be updated to show those costs in HIE state staff and in-house costs
An APD add a state expense to an HIE activity the budget should be updated to show those costs in HIE state expenses and in-house costs
An APD add a contractor to an HIE activity the budget should be updated to show those costs in HIE contractors costs
An APD add a state personnel to an MMIS activity the budget should be updated to show those costs in MMIS state staff and in-house costs
An APD add a state expense to an MMIS activity the budget should be updated to show those costs in MMIS state expenses and in-house costs
An APD add a contractor to an MMIS activity the budget should be updated to show those costs in MMIS contractors costs
An APD add a state personnel to an activity with no funding source the budget should be updated to show those costs in the total values but not in the HIT/HIE/MMIS tables
An APD add a state expense to an activity with no funding source the budget should be updated to show those costs in the total values but not in the HIT/HIE/MMIS tables
An APD add a contractor to an activity with no funding source the budget should be updated to show those costs in the total values but not in the HIT/HIE/MMIS tables

This task is done when...

  • [ ] all of the test cases have been added

thetif avatar Jul 27 '22 17:07 thetif