@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.
- package/cypress/e2e/commands.ts +5 -1
- package/package.json +1 -1
package/cypress/e2e/commands.ts
CHANGED
|
@@ -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:
|
|
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