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( {
|
export default defineConfig( {
|
||||||
e2e: {
|
e2e: {
|
||||||
"baseUrl": "http://localhost:8000",
|
"baseUrl": "http://localhost:8000",
|
||||||
specPattern: 'cypress/integration/e2e/**/*.spec.{js,ts}',
|
specPattern: 'cypress/e2e/e2e/**/*.{spec,cy}.{js,ts}',
|
||||||
supportFile: 'cypress/support/index.js',
|
supportFile: 'cypress/support/e2e.js',
|
||||||
},
|
},
|
||||||
"videoUploadOnPasses": false,
|
"videoUploadOnPasses": false,
|
||||||
"reporter": "junit",
|
"reporter": "junit",
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import {resolve} from "path";
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
chromeWebSecurity: false,
|
chromeWebSecurity: false,
|
||||||
e2e: {
|
e2e: {
|
||||||
"baseUrl": "http://localhost:8080",
|
baseUrl: "http://localhost:8080",
|
||||||
specPattern: 'cypress/integration/frontend/**/*.spec.{js,ts}',
|
specPattern: 'cypress/e2e/frontend/**/*.spec.{js,ts}',
|
||||||
supportFile: 'cypress/support/index.js',
|
supportFile: 'cypress/support/e2e.js',
|
||||||
setupNodeEvents(on, config) {
|
setupNodeEvents(on, config) {
|
||||||
on('task', {
|
on('task', {
|
||||||
getSchema() {
|
getSchema() {
|
||||||
|
|
@ -19,15 +19,15 @@ export default defineConfig({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"videoUploadOnPasses": false,
|
videoUploadOnPasses: false,
|
||||||
"reporter": "junit",
|
reporter: "junit",
|
||||||
"reporterOptions": {
|
reporterOptions: {
|
||||||
"mochaFile": "cypress/test-reports/frontend/cypress-results-[hash].xml",
|
mochaFile: "cypress/test-reports/frontend/cypress-results-[hash].xml",
|
||||||
"toConsole": true
|
toConsole: true
|
||||||
},
|
},
|
||||||
"projectId": "msk-fe",
|
"projectId": "msk-fe",
|
||||||
"retries": {
|
retries: {
|
||||||
"runMode": 3
|
runMode: 3
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue