move cypress config to cypress.config.js

This commit is contained in:
mahula 2023-04-12 20:10:13 +02:00
parent 60c30dea28
commit c8c59886a1

View File

@ -44,3 +44,19 @@ module.exports = defineConfig({
setupNodeEvents,
},
});
module.exports = defineConfig({
e2e: {
projectId: "qa7fe2",
chromeWebSecurity: false,
baseUrl: "http://localhost:3000",
specPattern: "cypress/e2e/**/*.feature",
supportFile: "cypress/support/e2e.js",
retries: {
runMode: 2,
openMode: 0,
},
video: false,
setupNodeEvents,
},
});