-
Notifications
You must be signed in to change notification settings - Fork 30
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
Tbolt/3355 budget and ffp validation #4224
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4224 +/- ##
==========================================
- Coverage 86.08% 85.98% -0.10%
==========================================
Files 260 260
Lines 5951 5980 +29
Branches 1251 1264 +13
==========================================
+ Hits 5123 5142 +19
- Misses 765 775 +10
Partials 63 63
Continue to review full report at Codecov.
|
This deploy was cleaned up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a couple of questions about skipped tests, but otherwise, looks good
web/src/pages/apd/activities/cost-allocation/CostAllocateFFPQuarterly.test.js
Outdated
Show resolved
Hide resolved
…gov/eAPD into tbolt/3355-budget-and-ffp-validation
Well done! LGTM, though I came across some screen-reader bug(?) that either @beparticular or @jeromeleecms can confirm?
Screen-reader issue: |
@beparticular I'm not getting any error for the Estimated Quarterly Expenditure Table. What is the trigger for this - for instance as soon as the total is calculated, after the table is exited, etc? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working now that we are testing in parking lot.
@beparticular try it again it may have been broken. It should happen as soon as the tables have invalid values (ie. subtotal doesn't equal 100%). Currently to test we have the admin check set to "on," so it should work as if the admin check was enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected. Not an issue, just curious "State Staff and Expenses (In-House Costs) quarterly percentages must total 100%" and
"Private Contractor Costs quarterly percentages must total 100%" are the only two possible error messages for estimated quarterly expenditures, right?
@akuas Yep, that's right. |
@tbolt Okay, thanks. |
Resolves #3355
Description
Adds validation to the Federal-State Split and Estimated Quarterly Expenditure sections of the Budget & FFP page
Significant changes or possible side effects
Automated test cases written
Steps to manually verify this change
Note: for testing we have the admin check turned on by default with no way to turn it off. So the testing should be done with that in mind.
This pull request is ready to review when
This pull request can be merged when