@centreon/js-config 24.4.1-release-24-04-next.16 → 24.4.1-release-24-04-next.18
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
CHANGED
|
@@ -260,6 +260,7 @@ Cypress.Commands.add(
|
|
|
260
260
|
return cy.get('.MuiAlert-message').then(($snackbar) => {
|
|
261
261
|
if ($snackbar.text().includes('Login succeeded')) {
|
|
262
262
|
cy.wait('@getNavigationList');
|
|
263
|
+
cy.get('.MuiAlert-message').should('not.be.visible');
|
|
263
264
|
}
|
|
264
265
|
});
|
|
265
266
|
}
|
|
@@ -743,7 +744,7 @@ Cypress.Commands.add(
|
|
|
743
744
|
|
|
744
745
|
Cypress.Commands.add('getTimeFromHeader', (): Cypress.Chainable => {
|
|
745
746
|
return cy
|
|
746
|
-
.get('header div[data-cy="clock"]', { timeout:
|
|
747
|
+
.get('header div[data-cy="clock"]', { timeout: 20000 })
|
|
747
748
|
.should('be.visible')
|
|
748
749
|
.then(($time) => {
|
|
749
750
|
const headerTime = $time.children()[1].textContent;
|
|
@@ -38,7 +38,7 @@ export default ({
|
|
|
38
38
|
|
|
39
39
|
return defineConfig({
|
|
40
40
|
chromeWebSecurity: false,
|
|
41
|
-
defaultCommandTimeout:
|
|
41
|
+
defaultCommandTimeout: 20000,
|
|
42
42
|
downloadsFolder: `${resultsFolder}/downloads`,
|
|
43
43
|
e2e: {
|
|
44
44
|
excludeSpecPattern: ['*.js', '*.ts', '*.md'],
|
|
@@ -66,10 +66,10 @@ export default ({
|
|
|
66
66
|
WEB_IMAGE_VERSION: webImageVersion
|
|
67
67
|
},
|
|
68
68
|
execTimeout: 60000,
|
|
69
|
-
requestTimeout:
|
|
69
|
+
requestTimeout: 20000,
|
|
70
70
|
retries: 0,
|
|
71
71
|
screenshotsFolder: `${resultsFolder}/screenshots`,
|
|
72
|
-
video:
|
|
72
|
+
video: true,
|
|
73
73
|
videoCompression: 0,
|
|
74
74
|
videosFolder: `${resultsFolder}/videos`
|
|
75
75
|
});
|
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.4.1-release-24-04-next.
|
|
4
|
+
"version": "24.4.1-release-24-04-next.18",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/centreon/centreon-frontend.git"
|