try to fix this spaghetti of a code

This commit is contained in:
Frederik Spirgi
2026-09-09 10:55:40 +02:00
parent 2194ea4f0d
commit 101116472a
26 changed files with 1938 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
const path = require('node:path');
const {defineConfig} = require('@playwright/test');
process.env.PLAYWRIGHT_BROWSERS_PATH ||= path.join(__dirname,'.playwright-browsers');
module.exports = defineConfig({
testDir:'./e2e', timeout:45000, workers:1, retries:0,
use:{baseURL:'http://127.0.0.1:42170',headless:true,trace:'retain-on-failure',screenshot:'only-on-failure'},
webServer:{command:'node e2e/server.js',url:'http://127.0.0.1:42170/login',reuseExistingServer:false,timeout:15000}
});