@gridsuite/commons-ui 0.116.2 → 0.116.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120,16 +120,17 @@ function CustomMuiDialog({
120
120
  ...dialogProps,
121
121
  children: [
122
122
  isDataFetching && /* @__PURE__ */ jsx(LinearProgress, {}),
123
- /* @__PURE__ */ jsx(DialogTitle, { children: /* @__PURE__ */ jsx(Grid, { item: true, xs: 11, children: /* @__PURE__ */ jsx(FormattedMessage, { id: titleId }) }) }),
123
+ /* @__PURE__ */ jsx(DialogTitle, { "data-testid": "DialogTitle", children: /* @__PURE__ */ jsx(Grid, { item: true, xs: 11, children: /* @__PURE__ */ jsx(FormattedMessage, { id: titleId }) }) }),
124
124
  /* @__PURE__ */ jsx(DialogContent, { sx: unscrollableFullHeight ? unscrollableDialogStyles.unscrollableContainer : null, children }),
125
125
  /* @__PURE__ */ jsxs(DialogActions, { children: [
126
- /* @__PURE__ */ jsx(CancelButton, { onClick: handleCancel }),
126
+ /* @__PURE__ */ jsx(CancelButton, { onClick: handleCancel, "data-testid": "CancelButton" }),
127
127
  /* @__PURE__ */ jsx(
128
128
  SubmitButton,
129
129
  {
130
130
  variant: "outlined",
131
131
  disabled: disabledSave,
132
- onClick: handleSubmit(handleValidate, handleValidationError)
132
+ onClick: handleSubmit(handleValidate, handleValidationError),
133
+ "data-testid": "ValidateButton"
133
134
  }
134
135
  )
135
136
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.116.2",
3
+ "version": "0.116.3",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",