eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

[Bug] Date validation is inconsistent between inline and admin check(backend)

Open tbolt opened this issue 2 years ago • 0 comments

Description

Date validation is happening between the in-line and admin check is inconsistent. When the admin check is enabled the validation in the page appears to work as expected. The admin check panel:

  • Doesn't catch when Start Dates are later than End Dates
  • Doesn't validate when an invalid year is entered

Steps to reproduce

  1. Login and view an APD. Turn on Admin Check
  2. Navigate to Activity Schedule
  3. Enter dates and observe the above issues

Expected results-

  • Dates validate consistently between admin check panel and inline validation

Actual results-

Role Affected

  • [x] All
  • [ ] Federal Admin
  • [ ] State Admin
  • [ ] State Staff
  • [ ] State Contractor
  • [ ] System Admin

Environment

  • [x] All
  • [ ] PR #____
  • [ ] Staging
  • [ ] Production

Browser

  • [x] All
  • [ ] Firefox
  • [ ] Chrome
  • [ ] IE

Cypress test created OR Ticket for cypress test created-

Related user story/bug- (if applicable)

Additional information- (optional)

Logs or error output/Screenshot/Video- (at least 1 of these)

tbolt avatar Oct 17 '22 18:10 tbolt