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
c435fb7246
commit
bbc377bc89
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,13 +0,0 @@
|
|||||||
{
|
|
||||||
"projectId": "qa7fe2",
|
|
||||||
"defaultCommandTimeout": 10000,
|
|
||||||
"pageLoadTimeout": 180000,
|
|
||||||
"ignoreTestFiles": "*.js",
|
|
||||||
"chromeWebSecurity": false,
|
|
||||||
"baseUrl": "http://localhost:3000",
|
|
||||||
"video": false,
|
|
||||||
"retries": {
|
|
||||||
"runMode": 2,
|
|
||||||
"openMode": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user