Bug 28869: (RM follow-up) Add missing field in api definition
[koha.git] / cypress.config.ts
1 import { defineConfig } from "cypress";
2
3 export default defineConfig({
4     fixturesFolder: "t/cypress/fixtures",
5     screenshotsFolder: "t/cypress/screenshots",
6     videosFolder: "t/cypress/videos",
7     defaultCommandTimeout: 10000,
8     requestTimeout: 10000,
9
10     e2e: {
11         setupNodeEvents(on, config) {
12             return require("./t/cypress/plugins/index.js")(on, config);
13         },
14         experimentalStudio: true,
15         baseUrl: "http://localhost:8081",
16         specPattern: "t/cypress/integration/**/*.*",
17         supportFile: "t/cypress/support/e2e.js",
18         env: {
19             db: {
20                 host: "db",
21                 user: "koha_kohadev",
22                 password: "password",
23                 database: "koha_kohadev",
24             },
25         },
26     },
27
28     component: {
29         devServer: {
30             framework: "vue-cli",
31             bundler: "webpack",
32         },
33     },
34 });