@centreon/js-config 24.4.1-MON-21276-create-basic-token.0 → 24.4.1-MON-24518-status-grid.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.
|
@@ -141,8 +141,10 @@ Cypress.Commands.add(
|
|
|
141
141
|
}
|
|
142
142
|
);
|
|
143
143
|
|
|
144
|
+
Cypress.Commands.add('adjustViewport', () => cy.viewport(1280, 590));
|
|
145
|
+
|
|
144
146
|
Cypress.Commands.add('makeSnapshot', (title?: string) => {
|
|
145
|
-
cy.
|
|
147
|
+
cy.adjustViewport();
|
|
146
148
|
cy.matchImageSnapshot(title);
|
|
147
149
|
});
|
|
148
150
|
|
|
@@ -155,8 +157,8 @@ Cypress.Commands.add('cssDisableMotion', (): void => {
|
|
|
155
157
|
declare global {
|
|
156
158
|
namespace Cypress {
|
|
157
159
|
interface Chainable {
|
|
160
|
+
adjustViewport: () => Cypress.Chainable;
|
|
158
161
|
cssDisableMotion: () => Cypress.Chainable;
|
|
159
|
-
getRequestCalls: (alias) => Cypress.Chainable;
|
|
160
162
|
interceptAPIRequest: <T extends object>(
|
|
161
163
|
props: InterceptAPIRequestProps<T>
|
|
162
164
|
) => Cypress.Chainable;
|
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-MON-
|
|
4
|
+
"version": "24.4.1-MON-24518-status-grid.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/centreon/centreon-frontend.git"
|