File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/components/dialogs/customMuiDialog Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ export function CustomMuiDialog<T extends FieldValues = FieldValues>({
162162 { ...dialogProps }
163163 >
164164 { isDataFetching && < LinearProgress /> }
165- < DialogTitle >
165+ < DialogTitle data-testid = "DialogTitle" >
166166 < Grid item xs = { 11 } >
167167 < FormattedMessage id = { titleId } />
168168 </ Grid >
@@ -171,11 +171,12 @@ export function CustomMuiDialog<T extends FieldValues = FieldValues>({
171171 { children }
172172 </ DialogContent >
173173 < DialogActions >
174- < CancelButton onClick = { handleCancel } />
174+ < CancelButton onClick = { handleCancel } data-testid = "CancelButton" />
175175 < SubmitButton
176176 variant = "outlined"
177177 disabled = { disabledSave }
178178 onClick = { handleSubmit ( handleValidate , handleValidationError ) }
179+ data-testid = "ValidateButton"
179180 />
180181 </ DialogActions >
181182 </ Dialog >
You can’t perform that action at this time.
0 commit comments