Bug 33036: Use Koha::Objects
[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
9     e2e: {
10         setupNodeEvents(on, config) {
11             return require("./t/cypress/plugins/index.js")(on, config);
12         },
13         experimentalStudio: true,
14         baseUrl: "http://localhost:8081",
15         specPattern: "t/cypress/integration/**/*.*",
16         supportFile: "t/cypress/support/e2e.js",
17         env: {
18             db: {
19                 host: "db",
20                 user: "koha_kohadev",
21                 password: "password",
22                 database: "koha_kohadev",
23             },
24         },
25     },
26
27     component: {
28         devServer: {
29             framework: "vue-cli",
30             bundler: "webpack",
31         },
32     },
33 });