mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Cypress: move config file from json file to js file
This commit is contained in:
parent
4cd8c58f53
commit
bde89439c9
17
cypress/cypress.config.js
Normal file
17
cypress/cypress.config.js
Normal 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,
|
||||
},
|
||||
});
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"projectId": "qa7fe2",
|
||||
"ignoreTestFiles": "*.js",
|
||||
"chromeWebSecurity": false,
|
||||
"baseUrl": "http://localhost:3000",
|
||||
"retries": {
|
||||
"runMode": 2,
|
||||
"openMode": 0
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user