@centreon/js-config 23.10.49 → 23.10.51
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
|
@@ -5,7 +5,7 @@ import './commands/monitoring';
|
|
|
5
5
|
|
|
6
6
|
import installLogsCollector from 'cypress-terminal-report/src/installLogsCollector';
|
|
7
7
|
|
|
8
|
-
installLogsCollector();
|
|
8
|
+
installLogsCollector({ enableExtendedCollector: true });
|
|
9
9
|
|
|
10
10
|
const apiLoginV2 = '/centreon/authentication/providers/configurations/local';
|
|
11
11
|
|
|
@@ -242,6 +242,8 @@ interface StartContainerProps {
|
|
|
242
242
|
Cypress.Commands.add(
|
|
243
243
|
'startContainer',
|
|
244
244
|
({ name, image, portBindings }: StartContainerProps): Cypress.Chainable => {
|
|
245
|
+
cy.log(`Starting container ${name} from image ${image}`);
|
|
246
|
+
|
|
245
247
|
return cy.task(
|
|
246
248
|
'startContainer',
|
|
247
249
|
{ image, name, portBindings },
|
|
@@ -362,6 +364,8 @@ interface StopContainerProps {
|
|
|
362
364
|
Cypress.Commands.add(
|
|
363
365
|
'stopContainer',
|
|
364
366
|
({ name }: StopContainerProps): Cypress.Chainable => {
|
|
367
|
+
cy.log(`Stopping container ${name}`);
|
|
368
|
+
|
|
365
369
|
cy.exec(`docker logs ${name}`).then(({ stdout }) => {
|
|
366
370
|
cy.writeFile(
|
|
367
371
|
`cypress/results/logs/${Cypress.spec.name.replace(
|
package/package.json
CHANGED