This commit is contained in:
2024-05-07 18:52:40 +00:00
parent cbcb227d80
commit f2ace3c7df
2 changed files with 6 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ module.exports = defineConfig({
setupNodeEvents(on, config) { setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config) return require('./cypress/plugins/index.js')(on, config)
}, },
experimentalRunAllSpecs: true,
specPattern: 'tests/**/*.cy.{js,jsx,ts,tsx}', specPattern: 'tests/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'support/e2e.js', supportFile: 'support/e2e.js',
xxbaseUrl: 'https://test.onayanova.com', xxbaseUrl: 'https://test.onayanova.com',

View File

@@ -7,7 +7,7 @@
"test": "tests" "test": "tests"
}, },
"devDependencies": { "devDependencies": {
"cypress": "^10.7.0" "cypress": "^13.8.1"
}, },
"scripts": { "scripts": {
"open": "./node_modules/.bin/cypress open", "open": "./node_modules/.bin/cypress open",
@@ -17,5 +17,8 @@
"smoke-chrome": "./node_modules/.bin/cypress run --browser chrome --spec ./tests/regression/1-smoke/*.js" "smoke-chrome": "./node_modules/.bin/cypress run --browser chrome --spec ./tests/regression/1-smoke/*.js"
}, },
"author": "", "author": "",
"license": "ISC" "license": "ISC",
"dependencies": {
"fs.promises": "^0.1.2"
}
} }