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 c435fb7246
commit bbc377bc89
2 changed files with 17 additions and 13 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,13 +0,0 @@
{
"projectId": "qa7fe2",
"defaultCommandTimeout": 10000,
"pageLoadTimeout": 180000,
"ignoreTestFiles": "*.js",
"chromeWebSecurity": false,
"baseUrl": "http://localhost:3000",
"video": false,
"retries": {
"runMode": 2,
"openMode": 0
}
}