implemented test db reset for e2e tests

This commit is contained in:
Aaro Koivukangas
2024-09-27 12:22:48 +03:00
committed by Eero Antikainen
parent ca58d2000e
commit 31d5ca8add
6 changed files with 24 additions and 2 deletions
+4 -1
View File
@@ -2,11 +2,14 @@ const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
setupNodeEvents(_on, _config) {
// implement node event listeners here
},
baseUrl: 'http://localhost:5173/',
},
env: {
backendUrl: "http://backend:4000/test/reset-test-database"
},
viewportHeight: 900,
viewportWidth: 1200,
});