-
Notifications
You must be signed in to change notification settings - Fork 2
/
cypress.config.ts
43 lines (42 loc) · 1.34 KB
/
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
34
35
36
37
38
39
40
41
42
43
import { defineConfig } from "cypress"
export default defineConfig({
projectId: "tbpt8b",
chromeWebSecurity: false,
screenshotOnRunFailure: true,
video: true,
viewportWidth: 1280,
viewportHeight: 1024,
defaultCommandTimeout: 10000,
pageLoadTimeout: 30000,
requestTimeout: 10000,
env: {
baseUrlData: "https://api.data.amsterdam.nl/",
userHh: "handhaver-noreply@amsterdam.nl",
userHhj: "handhavingsjurist-noreply@amsterdam.nl",
userPm: "projectmedewerker-noreply@amsterdam.nl",
userTh: "toezichthouder-noreply@amsterdam.nl"
},
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://localhost:2999/",
specPattern: [
"cypress/e2e/010_addCase/themes/vakantieverhuur/add.case.anonymous.no.ad.spec.js",
"cypress/e2e/020_visit/visit.plan.spec.js",
"cypress/e2e/020_visit/visit.result.access.granted.spec.js",
"cypress/e2e/025_taskOverview/*.js",
"cypress/e2e/030_debrief/01-debrief.no.violation.spec.js",
"cypress/e2e/030_debrief/03-report.short.spec.js",
"cypress/e2e/060_closeCase/*.js"
]
},
component: {
devServer: {
framework: "react",
bundler: "vite"
}
}
})