2022-10-04 16:23:57 +02:00
|
|
|
const { defineConfig } = require("cypress");
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
2022-10-05 07:28:13 +02:00
|
|
|
projectId: "vyjuem",
|
2022-10-04 16:23:57 +02:00
|
|
|
e2e: {
|
2022-10-05 07:28:13 +02:00
|
|
|
experimentalStudio: true,
|
2022-10-04 16:23:57 +02: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",
|
|
|
|
},
|
|
|
|
});
|