Error message describes invalid form field value, Failed Example 2 has an error message that doesn't describe how to resolve the error.
However, it is also not very good at identifying the errored field, and should rather say something like "enter correct value for age" (like Passed Example 1). This would ensure we only test one condition at a time.
Error message describes invalid form field value, Failed Example 2 has an error message that doesn't describe how to resolve the error. However, it is also not very good at identifying the errored field, and should rather say something like "enter correct value for age" (like Passed Example 1). This would ensure we only test one condition at a time.