@centreon/js-config 23.10.1-MON-23897-Rename-web-nightly-job.0 → 23.10.1-MON-fix-panel-edit-tests.2

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.
@@ -129,7 +129,7 @@ Cypress.Commands.add(
129
129
 
130
130
  Cypress.Commands.add('makeSnapshot', (title?: string) => {
131
131
  cy.viewport(1280, 590);
132
- cy.matchImageSnapshot(title);
132
+ cy.matchImageSnapshot(title, { capture: 'runner' });
133
133
  });
134
134
 
135
135
  declare global {
@@ -25,7 +25,7 @@ export default ({
25
25
  dockerName,
26
26
  env
27
27
  }: ConfigurationOptions): Cypress.ConfigOptions => {
28
- const resultsFolder = `${cypressFolder || '.'}/results`;
28
+ const resultsFolder = `${cypressFolder || 'cypress'}/results`;
29
29
 
30
30
  const webImageVersion = execSync('git rev-parse --abbrev-ref HEAD')
31
31
  .toString('utf8')
@@ -36,7 +36,6 @@ export default ({
36
36
  defaultCommandTimeout: 6000,
37
37
  e2e: {
38
38
  excludeSpecPattern: ['*.js', '*.ts', '*.md'],
39
- fixturesFolder: 'fixtures',
40
39
  reporter: require.resolve('cypress-multi-reporters'),
41
40
  reporterOptions: {
42
41
  configFile: `${__dirname}/reporter-config.js`
@@ -48,8 +47,7 @@ export default ({
48
47
 
49
48
  return plugins(on, config);
50
49
  },
51
- specPattern,
52
- supportFile: 'support/e2e.{js,jsx,ts,tsx}'
50
+ specPattern
53
51
  },
54
52
  env: {
55
53
  ...env,
@@ -4,7 +4,7 @@ module.exports = {
4
4
  html: false,
5
5
  json: true,
6
6
  overwrite: true,
7
- reportDir: 'results/reports',
7
+ reportDir: 'cypress/results/reports',
8
8
  reportFilename: '[name]-report.json'
9
9
  },
10
10
  reporterEnabled: `mochawesome,${require.resolve(
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": "23.10.1-MON-23897-Rename-web-nightly-job.0",
4
+ "version": "23.10.1-MON-fix-panel-edit-tests.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/centreon/centreon-frontend.git"