Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop' into MON-14579
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret authored Sep 1, 2022
2 parents e61f5f5 + d1b9ce4 commit efbf006
Show file tree
Hide file tree
Showing 62 changed files with 1,291 additions and 1,845 deletions.
2 changes: 2 additions & 0 deletions ci/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ Depends:
php8.0-ldap,
php8.0-readline,
php8.0-sqlite3,
php8.0-grpc,
php8.0-protobuf,
php-pear,
ntp,
rrdtool,
Expand Down
13 changes: 13 additions & 0 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-namespace */
import { MountReturn } from '@cypress/react';
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';

addMatchImageSnapshotCommand({
Expand All @@ -7,3 +9,14 @@ addMatchImageSnapshotCommand({
failureThreshold: 0.03,
failureThresholdType: 'percent',
});

declare global {
namespace Cypress {
interface Chainable {
mount: (
component: JSX.Element,
options?: object,
) => Cypress.Chainable<MountReturn>;
}
}
}
2 changes: 1 addition & 1 deletion cypress/support/component.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import './commands';
import { mount } from 'cypress/react';
import { mount } from 'cypress/react18';

import { ThemeProvider } from '@centreon/ui';

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit efbf006

Please sign in to comment.