27 lines
612 B
JavaScript
27 lines
612 B
JavaScript
const { defineConfig } = require("cypress");
|
|
const { cloudPlugin } = require("cypress-cloud/plugin");
|
|
|
|
module.exports = defineConfig({
|
|
projectId: "RVEZS1",
|
|
watchForFileChanges: false,
|
|
video: true,
|
|
viewportWidth: 1280,
|
|
viewportHeight: 720,
|
|
retries: {
|
|
runMode: 2,
|
|
openMode: 0,
|
|
},
|
|
reporter: "junit",
|
|
reporterOptions: {
|
|
mochaFile: "cypress/test-reports/cypress-results-[hash].xml",
|
|
toConsole: true,
|
|
},
|
|
e2e: {
|
|
// experimentalSessionAndOrigin: true,
|
|
setupNodeEvents(on, config) {
|
|
return cloudPlugin(on, config);
|
|
},
|
|
baseUrl: "http://localhost:8001",
|
|
},
|
|
});
|