-
Notifications
You must be signed in to change notification settings - Fork 4
/
cypress.config.ts
31 lines (30 loc) · 958 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
import { defineConfig } from 'cypress';
export default defineConfig({
reporter: 'cypress-multi-reporters',
reporterOptions: {
reporterEnabled: 'cypress-mochawesome-reporter, mocha-junit-reporter',
cypressMochawesomeReporterReporterOptions: {
reportDir: 'cypress/reports',
charts: true,
reportPageTitle: 'E2E - nextjs-boilerplate',
embeddedScreenshots: true,
inlineAssets: true,
},
mochaJunitReporterReporterOptions: {
mochaFile: 'cypress/reports/junit/results-[hash].xml',
},
},
env: {
CI_BUILD_NUMBER: 'not-set',
},
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config);
},
// baseUrl: 'http://nextjs-template-dev-east-staging.azurewebsites.net',
baseUrl: 'http://localhost:3000',
},
video: false,
});