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>({
162
162
{ ...dialogProps }
163
163
>
164
164
{ isDataFetching && < LinearProgress /> }
165
- < DialogTitle >
165
+ < DialogTitle data-testid = "DialogTitle" >
166
166
< Grid item xs = { 11 } >
167
167
< FormattedMessage id = { titleId } />
168
168
</ Grid >
@@ -171,11 +171,12 @@ export function CustomMuiDialog<T extends FieldValues = FieldValues>({
171
171
{ children }
172
172
</ DialogContent >
173
173
< DialogActions >
174
- < CancelButton onClick = { handleCancel } />
174
+ < CancelButton onClick = { handleCancel } data-testid = "CancelButton" />
175
175
< SubmitButton
176
176
variant = "outlined"
177
177
disabled = { disabledSave }
178
178
onClick = { handleSubmit ( handleValidate , handleValidationError ) }
179
+ data-testid = "ValidateButton"
179
180
/>
180
181
</ DialogActions >
181
182
</ Dialog >
You can’t perform that action at this time.
0 commit comments