@centreon/js-config 24.10.15 → 24.10.17

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.
@@ -259,7 +259,7 @@ Cypress.Commands.add(
259
259
  cy.getByLabel({ label: 'Alias', tag: 'input' }).type(
260
260
  `{selectAll}{backspace}${credential.login}`
261
261
  );
262
- cy.getByLabel({ label: 'Password', tag: 'input' }).type(
262
+ cy.get('input[type="password"]').type(
263
263
  `{selectAll}{backspace}${credential.password}`
264
264
  );
265
265
  })
@@ -241,6 +241,15 @@ export default (on: Cypress.PluginEvents): void => {
241
241
  console.error(error.message);
242
242
  }
243
243
 
244
+ // Best-effort teardown: keep the original startup error if cleanup fails.
245
+ try {
246
+ await dockerEnvironment?.down();
247
+ } catch (teardownError) {
248
+ console.error(teardownError);
249
+ } finally {
250
+ dockerEnvironment = null;
251
+ }
252
+
244
253
  throw error;
245
254
  }
246
255
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@centreon/js-config",
3
3
  "description": "Centreon Frontend shared build configuration",
4
- "version": "24.10.15",
4
+ "version": "24.10.17",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/centreon/centreon.git"