---
# System prepended metadata

title: Incidents regression testing 9/24

---

# Incidents regression testing 9/24

- Records list view
	- When you are viewing or editing a record item. Then search, filter, sort or paginate and the item is still in the list, the contextual panel remains open but the url is no longer correct for that item.
	- Injury/Illness record edit and view: (Chris)
		- Missing toast success message translation when you update a record item. (CZ Done)
		- When you update a record item, the item doesn’t update in the table or in the contextual panel for edit or view. (CZ Done)
		- If you clear a select field and update the record, the field doesn’t clear. [AZ- DONE]
		- These fields don’t update when editing a record: (CZ - Done)
			- injury/illness
			- body part affected
			- work days absent
			- work days restricted
			- work days transferred
			- date returned to work
			- date of death
			    - filling type
			- notifiable
			- treatment provider
			- treatment
			- facility address
			- treated in ER
			- hospitalized overnight
			- description
	- Environmental record edit and view:
		- When you update a record item, the item doesn’t update in the table or in the contextual panel for edit or view. (CZ Done)
		- If you clear a select field and update the record, the field doesn’t clear.[AZ- DONE]
		- These fields don’t update when editing a record: [CZ Done]
			- Type
			- Quantity amount and units
	- Near miss record edit and view
		- When you update a record item, the item doesn’t update in the table or in the contextual panel for edit or view. (CZ Done)
		- If you clear a select field and update the record, the field doesn’t clear.[AZ- DONE]
	- Property damage record edit and view
		- When you update a record item, the item doesn’t update in the table or in the contextual panel for edit or view. (CZ Done)
		- If you clear a select field and update the record, the field doesn’t clear.[AZ- DONE]
		- These fields don’t update when editing a record: [CZ Done]
			- Responsible Company
    - Currency Field
        - Null value needs to be handled. [AZ -DONE]

- Incident edit and view:
	- Incident form:
		- Incident delete doesn’t delete but you get a success message[AZ - done]
		- If you edit a field, then restore that field to it’s initial value, then exit the edit state, the client side validation error messages don’t clear.
		- If you clear location, hazard, contribution condition or contributing behavior (when the fields are not required) and update, the update doesn’t apply the changes.
		- location, hazard, contribution condition and contributing behavior doesn’t update when you update the form (view or edit). You have to refresh for the changes to show.
		- When you update distribution, then click edit, the updates don’t show. You have to refresh for the changes to show.
		- When you successfully update an incident, then you click edit again, the unsaved changes modal triggers. It should go to edit mode again.
		- When you successfully update attachments, then click edit, the updates don’t show. You need to refresh for the updates to show.
		- When you add drawings, the patch works but the get requites fails. (This might just not work locally. Confirm it works on staging.)
		- When time unknown is checked as true, then you update the event time, the time unknown field stays checked. If you update, time unknown remains true and the event time gets updated. Time unknown should become unchecked when an event time is selected. (Both event time and time unknown were set as required.)
	- Record Injury/Illness form: (CZ Done)
		- If you clear a select field and update the record, the field doesn’t clear.
		- Required fields don’t show client side validation error message. 
		- Creating a new Injury/Illness with required fields doesn’t create.
		- When a form has required fields, your unable to update any field.
		- When you set Injury/Illness and Body Part Affected configurable fields to hidden, they render in the form.
	- Record Property Damage form: (CZ Done)
		- If you clear a select field and update the record, the field doesn’t clear.
	- Record Environmental form: (CZ Done)
		- If you clear a select field and update the record, the field doesn’t clear.
	- Record Near Miss form: (CZ Done)
		- If you clear a select field and update the record, the field doesn’t clear.
	- Witness Statements form: (CZ Done)
		- If you clear the name select field and update the record, the field doesn’t clear.

- Incident create (Arthur working on this)
	- Unable to create an incident. 
		- If all configurable fields are optional, your unable to create.
		- If all configurable fields are required, your unable to create.
	- When fields are set as hidden (in configurable fields), your unable to create an incident.
	- Client side validation error messages doesn’t show when these fields are required:
		- title
		- distribution
		- event date
		- description
		- attachments

- Additional
    - Update core-react to 7.19.0
        - Confirm distribution field bugs are fixed
