forked from Koha-Community/Koha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.ts
34 lines (31 loc) · 910 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
34
import { defineConfig } from "cypress";
export default defineConfig({
fixturesFolder: "t/cypress/fixtures",
screenshotsFolder: "t/cypress/screenshots",
videosFolder: "t/cypress/videos",
defaultCommandTimeout: 10000,
requestTimeout: 10000,
e2e: {
setupNodeEvents(on, config) {
return require("./t/cypress/plugins/index.js")(on, config);
},
experimentalStudio: true,
baseUrl: "http://localhost:8081",
specPattern: "t/cypress/integration/**/*.*",
supportFile: "t/cypress/support/e2e.js",
env: {
db: {
host: "db",
user: "koha_kohadev",
password: "password",
database: "koha_kohadev",
},
},
},
component: {
devServer: {
framework: "vue-cli",
bundler: "webpack",
},
},
});