mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
implemented test db reset for e2e tests
This commit is contained in:
committed by
Eero Antikainen
parent
ca58d2000e
commit
31d5ca8add
+4
-1
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user