dc/client/cypress.config.ts

38 lines
808 B
TypeScript
Raw Normal View History

import { defineConfig } from "cypress";
2023-07-13 11:44:05 +00:00
export default defineConfig({
reporter: "mochawesome",
2023-07-13 11:44:05 +00:00
reporterOptions: {
reportDir: "cypress/results",
2023-07-13 11:44:05 +00:00
overwrite: false,
html: true,
json: false,
},
2023-07-13 11:44:05 +00:00
chromeWebSecurity: false,
defaultCommandTimeout: 30000,
2023-07-13 11:44:05 +00:00
env: {
hosturl: "http://localhost:4200",
2023-07-13 11:44:05 +00:00
appLocation: "",
site_id_SAS9: "70221618",
site_id_SASVIYA: "70253615",
site_id_SASJS: "123",
serverType: "SASJS",
libraryToOpenIncludes_SASVIYA: "viya",
libraryToOpenIncludes_SAS9: "dc",
libraryToOpenIncludes_SASJS: "dc",
debug: false,
screenshotOnRunFailure: false,
longerCommandTimeout: 50000,
testLicenceUserLimits: false,
},
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
});