@centreon/js-config 24.5.1 → 24.5.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.
@@ -518,6 +518,10 @@ Cypress.Commands.add('stopContainers', (): Cypress.Chainable => {
518
518
  .createDirectory(logDirectory)
519
519
  .getContainersLogs()
520
520
  .then((containersLogs: Array<Array<string>>) => {
521
+ if (!containersLogs) {
522
+ return;
523
+ }
524
+
521
525
  Object.entries(containersLogs).forEach(([containerName, logs]) => {
522
526
  cy.writeFile(
523
527
  `results/logs/${Cypress.spec.name.replace(
@@ -743,7 +747,7 @@ Cypress.Commands.add(
743
747
 
744
748
  Cypress.Commands.add('getTimeFromHeader', (): Cypress.Chainable => {
745
749
  return cy
746
- .get('header div[data-cy="clock"]', { timeout: 10000 })
750
+ .get('header div[data-cy="clock"]', { timeout: 20000 })
747
751
  .should('be.visible')
748
752
  .then(($time) => {
749
753
  const headerTime = $time.children()[1].textContent;
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.5.1",
4
+ "version": "24.5.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/centreon/centreon-frontend.git"