Move files according to new cypress defaults
This commit is contained in:
parent
8b031e1a8f
commit
50d51e517d
|
|
@ -0,0 +1,23 @@
|
|||
import { defineConfig } from 'cypress'
|
||||
|
||||
export default defineConfig({
|
||||
videoUploadOnPasses: false,
|
||||
reporter: 'junit',
|
||||
reporterOptions: {
|
||||
mochaFile: 'cypress/test-reports/frontend/cypress-results-[hash].xml',
|
||||
toConsole: true,
|
||||
},
|
||||
projectId: 'msk-fe',
|
||||
retries: {
|
||||
runMode: 2,
|
||||
},
|
||||
e2e: {
|
||||
// We've imported your old cypress plugins here.
|
||||
// You may want to clean this up later by importing these.
|
||||
setupNodeEvents(on, config) {
|
||||
return require('./cypress/plugins/index.js')(on, config)
|
||||
},
|
||||
baseUrl: 'http://localhost:8080',
|
||||
specPattern: 'cypress/integration/frontend/**/*.{js,jsx,ts,tsx}',
|
||||
},
|
||||
})
|
||||
|
|
@ -2,8 +2,8 @@ import {defineConfig} from 'cypress';
|
|||
export default defineConfig( {
|
||||
e2e: {
|
||||
"baseUrl": "http://localhost:8000",
|
||||
specPattern: 'cypress/integration/e2e/**/*.spec.{js,ts}',
|
||||
supportFile: 'cypress/support/index.js',
|
||||
specPattern: 'cypress/e2e/e2e/**/*.{spec,cy}.{js,ts}',
|
||||
supportFile: 'cypress/support/e2e.js',
|
||||
},
|
||||
"videoUploadOnPasses": false,
|
||||
"reporter": "junit",
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ import {resolve} from "path";
|
|||
export default defineConfig({
|
||||
chromeWebSecurity: false,
|
||||
e2e: {
|
||||
"baseUrl": "http://localhost:8080",
|
||||
specPattern: 'cypress/integration/frontend/**/*.spec.{js,ts}',
|
||||
supportFile: 'cypress/support/index.js',
|
||||
baseUrl: "http://localhost:8080",
|
||||
specPattern: 'cypress/e2e/frontend/**/*.spec.{js,ts}',
|
||||
supportFile: 'cypress/support/e2e.js',
|
||||
setupNodeEvents(on, config) {
|
||||
on('task', {
|
||||
getSchema() {
|
||||
|
|
@ -19,15 +19,15 @@ export default defineConfig({
|
|||
});
|
||||
},
|
||||
},
|
||||
"videoUploadOnPasses": false,
|
||||
"reporter": "junit",
|
||||
"reporterOptions": {
|
||||
"mochaFile": "cypress/test-reports/frontend/cypress-results-[hash].xml",
|
||||
"toConsole": true
|
||||
videoUploadOnPasses: false,
|
||||
reporter: "junit",
|
||||
reporterOptions: {
|
||||
mochaFile: "cypress/test-reports/frontend/cypress-results-[hash].xml",
|
||||
toConsole: true
|
||||
},
|
||||
"projectId": "msk-fe",
|
||||
"retries": {
|
||||
"runMode": 3
|
||||
retries: {
|
||||
runMode: 3
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue