Cypress: move config file from json file to js file

This commit is contained in:
mahula 2022-11-06 16:33:48 +01:00
parent 4cd8c58f53
commit bde89439c9
2 changed files with 17 additions and 10 deletions

17
cypress/cypress.config.js Normal file
View File

@ -0,0 +1,17 @@
const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
projectId: "qa7fe2",
chromeWebSecurity: false,
baseUrl: "http://localhost:3000",
specPattern: "**/*.feature",
supportFile: false,
retries: {
runMode: 2,
openMode: 0,
},
setupNodeEvents,
},
});

View File

@ -1,10 +0,0 @@
{
"projectId": "qa7fe2",
"ignoreTestFiles": "*.js",
"chromeWebSecurity": false,
"baseUrl": "http://localhost:3000",
"retries": {
"runMode": 2,
"openMode": 0
}
}