From bde89439c9b83fccb2a6447fb07c1c379202bd93 Mon Sep 17 00:00:00 2001 From: mahula Date: Sun, 6 Nov 2022 16:33:48 +0100 Subject: [PATCH] Cypress: move config file from json file to js file --- cypress/cypress.config.js | 17 +++++++++++++++++ cypress/cypress.json | 10 ---------- 2 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 cypress/cypress.config.js delete mode 100644 cypress/cypress.json diff --git a/cypress/cypress.config.js b/cypress/cypress.config.js new file mode 100644 index 000000000..7b37e4bda --- /dev/null +++ b/cypress/cypress.config.js @@ -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, + }, +}); diff --git a/cypress/cypress.json b/cypress/cypress.json deleted file mode 100644 index 3f41ca3e5..000000000 --- a/cypress/cypress.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "projectId": "qa7fe2", - "ignoreTestFiles": "*.js", - "chromeWebSecurity": false, - "baseUrl": "http://localhost:3000", - "retries": { - "runMode": 2, - "openMode": 0 - } -}