2022-10-04 17:23:57 +03:00
|
|
|
const { defineConfig } = require("cypress");
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
2022-10-05 08:28:13 +03:00
|
|
|
projectId: "vyjuem",
|
2022-10-04 17:23:57 +03:00
|
|
|
e2e: {
|
2022-10-05 08:28:13 +03:00
|
|
|
experimentalStudio: true,
|
2022-10-04 17:23:57 +03:00
|
|
|
setupNodeEvents(on, config) {
|
|
|
|
|
|
|
|
},
|
|
|
|
fixturesFolder: "test/cypress/fixtures",
|
|
|
|
screenshotsFolder: "test/cypress/screenshots",
|
|
|
|
videosFolder: "test/cypress/videos",
|
|
|
|
downloadsFolder: "test/cypress/downloads",
|
|
|
|
supportFile: "test/cypress/support/e2e.js",
|
|
|
|
baseUrl: "http://localhost:3002",
|
|
|
|
defaultCommandTimeout: 10000,
|
|
|
|
pageLoadTimeout: 60000,
|
|
|
|
viewportWidth: 1920,
|
|
|
|
viewportHeight: 1080,
|
|
|
|
specPattern: [
|
|
|
|
"test/cypress/e2e/setup.cy.js",
|
|
|
|
"test/cypress/e2e/**/*.js"
|
|
|
|
],
|
|
|
|
},
|
|
|
|
env: {
|
|
|
|
baseUrl: "http://localhost:3002",
|
|
|
|
},
|
|
|
|
});
|