-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.ts
33 lines (32 loc) · 949 Bytes
/
cypress.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { defineConfig } from "cypress";
import synpressPlugins from "@synthetixio/synpress/plugins";
export default defineConfig({
userAgent: "synpress",
screenshotsFolder: "cypress/screenshots",
video: false,
chromeWebSecurity: true,
viewportWidth: 1920,
viewportHeight: 1080,
defaultCommandTimeout: 30000,
pageLoadTimeout: 30000,
requestTimeout: 30000,
e2e: {
testIsolation: true,
setupNodeEvents(on, config) {
synpressPlugins(on, config);
require("cypress-mochawesome-reporter/plugin")(on);
},
includeShadowDom: true,
baseUrl: "https://dapp-citizen-react.vercel.app",
supportFile: "cypress/support/e2e.ts",
fixturesFolder: "cypress/fixtures",
reporter: "cypress-mochawesome-reporter",
reporterOptions: {
reportDir: "cypress/reports",
charts: true,
reportPageTitle: "Test Run Report",
embeddedScreenshots: true,
inlineAssets: true,
},
},
});