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");
|
||||
|
||||
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}",
|
||||
},
|
||||
});
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue