@mtes-mct/monitor-ui 12.2.0 → 12.2.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [12.2.0](https://github.com/MTES-MCT/monitor-ui/compare/v12.1.3...v12.2.0) (2024-02-29)
2
+
3
+
4
+ ### Features
5
+
6
+ * **cypress:** add forceCheck() command ([ab382b7](https://github.com/MTES-MCT/monitor-ui/commit/ab382b76e6569e80f305c3abffe9133a2d5cac0c))
7
+ * **cypress:** add forceClear() command ([ebd5ad8](https://github.com/MTES-MCT/monitor-ui/commit/ebd5ad86249aaf333ce088b06561b5827bd8a156))
8
+ * **cypress:** add forceType() command ([c6017a1](https://github.com/MTES-MCT/monitor-ui/commit/c6017a1b3c0f480b5595563102ff1778d1961841))
9
+ * **cypress:** add forceUncheck() command ([d75171a](https://github.com/MTES-MCT/monitor-ui/commit/d75171ab811bd7cbebd61efa617b4d67c2ea874b))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **cypress:** force all actions in fill() subcommands ([359b752](https://github.com/MTES-MCT/monitor-ui/commit/359b752fbc4186ebfb9e9d2d1a6ba7b8114a6249))
15
+ * **cypress:** upse native uncheck for fill() on MultiCheckbox ([f9e2ef9](https://github.com/MTES-MCT/monitor-ui/commit/f9e2ef9a7b80834d28034f4f3303590ae1ee8e9d))
16
+
1
17
  ## [12.1.3](https://github.com/MTES-MCT/monitor-ui/compare/v12.1.2...v12.1.3) (2024-02-29)
2
18
 
3
19
 
package/cypress/index.js CHANGED
@@ -360,12 +360,12 @@ function fillTextInput(fieldElement, value, _label) {
360
360
  top: -100
361
361
  }
362
362
  });
363
- cy.wrap(fieldElement).find('input[type="text"]').forceClear().wait(250);
363
+ cy.wrap(fieldElement).find('input').forceClear().wait(250);
364
364
  // If `value` is undefined, we don't need to input anything
365
365
  if (!value) {
366
366
  return;
367
367
  }
368
- cy.wrap(fieldElement).find('input[type="text"]').forceType(value).wait(250);
368
+ cy.wrap(fieldElement).find('input').forceType(value).wait(250);
369
369
  }
370
370
 
371
371
  function pickCheckPickerOptions(fieldElement, values, label) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mtes-mct/monitor-ui",
3
3
  "description": "Common React components, hooks, utilities and CSS stylesheets for MonitorFish, MonitorEnv and RapportNav.",
4
- "version": "12.2.0",
4
+ "version": "12.2.1",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {