Error messages persistent
Supplemental requirement
Error messages persist at least until the error is resolved or the user dismisses them.
Methods
- Keep track of the state of the error and make visibility of the error message depending on this state.
- In a form, revalidate all fields when the form is submitted and remove all error messages that are no longer relevant.
- Add a “Dismiss” button to the error that makes the error message disappear.
Tests
Procedure
For each error message:
- Check that the error message persists until the user fixes the error or dismisses the message.
Expected results
- #1 is true.