Updated cypress.

This commit is contained in:
Klaus Silveira
2025-08-18 10:38:28 -04:00
parent 617d919c59
commit a4289ed4ea
4 changed files with 933 additions and 429 deletions

14
cypress.config.js Normal file
View File

@@ -0,0 +1,14 @@
import { defineConfig } from 'cypress';
export default defineConfig({
video: false,
screenshotOnRunFailure: false,
e2e: {
baseUrl: 'http://0.0.0.0:8880',
supportFile: false,
specPattern: [
'tests/cypress/integration/**/*.spec.{js,ts,jsx,tsx}',
'tests/cypress/integration/**/*.cy.{js,ts,jsx,tsx}',
],
},
});

View File

@@ -1,11 +0,0 @@
{
"baseUrl": "http://0.0.0.0:8880",
"experimentalStudio": true,
"downloadsFolder": "tests/cypress/downloads",
"fixturesFolder": "tests/cypress/fixtures",
"integrationFolder": "tests/cypress/integration",
"pluginsFile": false,
"screenshotsFolder": "tests/cypress/screenshots",
"supportFile": false,
"video": false
}

1330
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@
"@symfony/webpack-encore": "^1.7",
"autoprefixer": "^10.4",
"cssnano": "^5.0",
"cypress": "^9.2.1",
"cypress": "^14.5.4",
"file-loader": "^6.2",
"husky": "^7.0",
"postcss-loader": "^6.2",
@@ -34,7 +34,8 @@
"sass-loader": "^12.4"
},
"browserslist": [
"> 1%",
"IE 10"
"> 0.5%",
"last 2 versions",
"not dead"
]
}