eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

[Bug] Other State Expense validation triggering on Cancel

Open mirano-darren opened this issue 2 years ago • 0 comments

Description

When opening an other state expense subform, the category field is automatically focused. This results in having the validation trigger when trying to click Cancel. Meaning to actually close the subform (right after creating it) you have to click the Cancel button twice.

Steps to reproduce

  1. Navigate to State staff and Expenses
  2. Create a new other state expense subform
  3. Try to immediately close the form by clicking Cancel
  4. Verify that the validation triggers on the Category field

Expected results- Subform should close

Actual results- Validation triggers on the category field

Role Affected

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

Environment

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

Browser

  • [ ] All
  • [x] Firefox
  • [x] Chrome
  • [x] 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) image.png

mirano-darren avatar Sep 26 '22 17:09 mirano-darren