Add "testmo" config (#3209)
* Add testmo config * update base url * Remove dupilcation
This commit is contained in:
parent
3055af4841
commit
9097d4076e
2 changed files with 6 additions and 2 deletions
|
@ -4,6 +4,10 @@ const { defineConfig } = require("cypress");
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
|
reporter: "junit",
|
||||||
|
reporterOptions: {
|
||||||
|
mochaFile: "results/my-test-output-[hash].xml",
|
||||||
|
},
|
||||||
projectId: "51ef7c",
|
projectId: "51ef7c",
|
||||||
chromeWebSecurity: false,
|
chromeWebSecurity: false,
|
||||||
defaultCommandTimeout: 20000,
|
defaultCommandTimeout: 20000,
|
||||||
|
@ -34,7 +38,7 @@ module.exports = defineConfig({
|
||||||
});
|
});
|
||||||
return config;
|
return config;
|
||||||
},
|
},
|
||||||
baseUrl: "http://localhost:4173/",
|
baseUrl: "http://localhost:4137/",
|
||||||
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
|
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
const graphql = require("graphql-request");
|
const graphql = require("graphql-request");
|
||||||
|
|
||||||
module.exports = async (on, config) => {
|
module.exports = async (on, config) => {
|
||||||
// require("cypress-mochawesome-reporter/plugin")(on); - uncomment to run reports
|
// require("cypress-mochawesome-reporter/plugin")(on);
|
||||||
|
|
||||||
require("dotenv").config();
|
require("dotenv").config();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue