diff --git a/cypress.config.js b/cypress.config.js index f7088bbd7..d556aa5c9 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -4,6 +4,10 @@ const { defineConfig } = require("cypress"); const fs = require("fs"); module.exports = defineConfig({ + reporter: "junit", + reporterOptions: { + mochaFile: "results/my-test-output-[hash].xml", + }, projectId: "51ef7c", chromeWebSecurity: false, defaultCommandTimeout: 20000, @@ -34,7 +38,7 @@ module.exports = defineConfig({ }); return config; }, - baseUrl: "http://localhost:4173/", + baseUrl: "http://localhost:4137/", specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}", }, }); diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 606fb594d..20ca049f7 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -21,7 +21,7 @@ const graphql = require("graphql-request"); module.exports = async (on, config) => { - // require("cypress-mochawesome-reporter/plugin")(on); - uncomment to run reports + // require("cypress-mochawesome-reporter/plugin")(on); require("dotenv").config();