-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
Milestone
Description
Bug description:
Wrong error message is showing when 'email address', 'date of death' is empty.
Steps to reproduce:
- Declare any birth/ death / marriage event
- Keep informant type and email address empty
- Go to review page and observe error message in email field
- Again provide informant type and keep email address empty
- Go to review page and observe error message in email field
- Again provide informant type as someone else> fill up the field of relationship to child and keep email address empty
- Go to review page and observe error message in email field
For date of death -
- Start creating a death declaration.
- Keep 'date of death' field empty.
- Navigate to declaration review page.
- Observe the error message for 'date of death' field.
Actual result:
- When informant type IS PROVIDED and email address is empty error message is showing "Must be a valid email address"
- When 'date of death' is empty, error message says - "Must be a valid date"
Expected result:
- When informant type IS PROVIDED and email address is empty error message should show "Required for registration"
- When 'date of death' is empty, error message should say - "Required for registration"
Screenshot/ Recording:
wrong.error.msg.showing.when.informant.type.is.provided.but.email.address.is.not.provided.mp4
for 'date of death' :
wrong-error-message-date-of-death.mp4
Note: This bug exists in V1.5.1 And have failed e2e in Birth and death declarations
Tested on:
https://login.farajaland-qa.opencrvs.org/?lang=en
Version:
V1.6.0
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog