As a store employee, I want my item modal submissions to smoothly display a confirmation or rejection message so that I can be updated on the status of my edit requests
Acceptance Criteria
-
The item edit modal and its various sub-pages should no longer immediately refresh the page when submitted. -
Instead, the item edit modal, upon submission, should await the server response and display a toast with the output. -
If a refresh is needed, it should take place after the toast has displayed and after the post request has definitely been made.
Definition of Ready
-
Understood by the team -
Has clear business value -
Is estimated -
Has its dependencies linked -
Is small -
Has its acceptance criteria defined
Definition of Done
-
Built and runs without errors -
Is tested against acceptance criteria -
Demoed to the team -
Documented and commented code -
Pages have some basic styling (if appropriate) -
Has at least 70% code coverage for automated testing -
Uses Selenium to full stack test (if appropriate) -
Has no ESLint errors
Edited by Linton Ineson